mirror of
https://github.com/immich-app/immich.git
synced 2026-03-26 03:28:59 +03:00
chore: finishing unit tests for a couple of services (#13292)
This commit is contained in:
@@ -20,7 +20,7 @@ import { OpenGraphTags } from 'src/utils/misc';
|
||||
|
||||
@Injectable()
|
||||
export class SharedLinkService extends BaseService {
|
||||
getAll(auth: AuthDto): Promise<SharedLinkResponseDto[]> {
|
||||
async getAll(auth: AuthDto): Promise<SharedLinkResponseDto[]> {
|
||||
return this.sharedLinkRepository.getAll(auth.user.id).then((links) => links.map((link) => mapSharedLink(link)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user