mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
fix: test failing due to undefined
This commit is contained in:
parent
0dead4637e
commit
97fb73ca2c
1 changed files with 2 additions and 2 deletions
|
@ -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 ?? '',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue