chore(server): remove unused code (#13367)

This commit is contained in:
Jason Rasmussen 2024-10-11 00:44:38 -04:00 committed by GitHub
parent 8daa8073ae
commit 930df46f74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 34 additions and 415 deletions

View file

@ -309,21 +309,6 @@ export const sharedLinkResponseStub = {
type: SharedLinkType.ALBUM,
userId: 'admin_id',
}),
readonly: Object.freeze<SharedLinkResponseDto>({
id: '123',
userId: 'admin_id',
key: sharedLinkBytes.toString('base64url'),
type: SharedLinkType.ALBUM,
createdAt: today,
expiresAt: tomorrow,
description: null,
password: null,
allowUpload: false,
allowDownload: false,
showMetadata: true,
album: albumResponse,
assets: [assetResponse],
}),
readonlyNoMetadata: Object.freeze<SharedLinkResponseDto>({
id: '123',
userId: 'admin_id',