refactor(backend): use explicit types instead of var by default

This commit is contained in:
sam 2024-12-08 15:07:25 +01:00
parent bc7fd6d804
commit 649988db25
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
52 changed files with 506 additions and 420 deletions

View file

@ -26,10 +26,10 @@ public class CreateFlagInvocable(
try
{
var (hash, image) = await ImageObjectExtensions.ConvertBase64UriToImage(
(string? hash, Stream? image) = await ImageObjectExtensions.ConvertBase64UriToImage(
Payload.ImageData,
size: 256,
crop: false
256,
false
);
await objectStorageService.PutObjectAsync(Path(hash), image, "image/webp");