fix: test failing due to undefined

This commit is contained in:
Marie 2025-03-28 00:33:13 +01:00
parent 0dead4637e
commit 97fb73ca2c
No known key found for this signature in database
GPG key ID: 7ADF6C9CD9A28555

View file

@ -22,9 +22,9 @@ export class BunnyService {
@bindThis @bindThis
public getBunnyInfo(meta: MiMeta) { public getBunnyInfo(meta: MiMeta) {
return { return {
endpoint: meta.objectStorageEndpoint ?? undefined, endpoint: meta.objectStorageEndpoint ?? 'example.net',
accessKey: meta.objectStorageSecretKey ?? '', accessKey: meta.objectStorageSecretKey ?? '',
zone: meta.objectStorageBucket ?? undefined, zone: meta.objectStorageBucket ?? '',
prefix: meta.objectStoragePrefix ?? '', prefix: meta.objectStoragePrefix ?? '',
}; };
} }