fix db schema annotations

This commit is contained in:
mgabor
2024-04-16 22:02:40 +02:00
parent 9677d6108a
commit 1b56fb8914
9 changed files with 38 additions and 51 deletions
+2 -2
View File
@@ -125,9 +125,9 @@ export const mapAlbum = (entity: AlbumEntity, withAssets: boolean, auth?: AuthDt
if (entity.sharedUsers) {
for (const permission of entity.sharedUsers) {
sharedUsers.push(mapUser(permission.users));
sharedUsers.push(mapUser(permission.user));
sharedUsersV2.push({
user: mapUser(permission.users),
user: mapUser(permission.user),
readonly: permission.readonly,
});
}