base64: TRY() the fallible function encode_base64()

This seems to have been forgotten in commit 25f2e498.
This commit is contained in:
Kenneth Myhra 2023-01-08 17:33:11 +01:00 committed by Sam Atkins
parent a33a490d48
commit 2e985bb505
Notes: sideshowbarker 2024-07-17 02:14:39 +09:00

View file

@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return 0;
}
auto encoded = encode_base64(buffer);
auto encoded = TRY(encode_base64(buffer));
outln("{}", encoded);
return 0;
}