Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

test: match S3 response body in metadata cleanup regression

HoshinoSuzumiBot8b0a1eea5562
diff --git a/tests/review-runtime.test.ts b/tests/review-runtime.test.ts
index 954e29aa..aff8ddab 100644
--- a/tests/review-runtime.test.ts
+++ b/tests/review-runtime.test.ts
@@ -350,7 +350,7 @@ test('S3 metadata publication uses image MIME and the returned prefixed key for
const input = command.input
if (command.constructor.name === 'GetObjectCommand')
return {
- Body: { transformToByteArray: async () => objects.get(input.Key)! },
+ Body: objects.get(input.Key)!,
}
if (command.constructor.name === 'PutObjectCommand') {
writes.push(input)