MCPcopy
hub / github.com/immich-app/immich / restoreTrash

Method restoreTrash

server/src/controllers/trash.controller.ts:36–38  ·  view source on GitHub ↗
(@Auth() auth: AuthDto)

Source from the content-addressed store, hash-verified

34 history: new HistoryBuilder().added('v1').beta('v1').stable('v2'),
35 })
36 restoreTrash(@Auth() auth: AuthDto): Promise<TrashResponseDto> {
37 return this.service.restore(auth);
38 }
39
40 @Post('restore/assets')
41 @Authenticated({ permission: Permission.AssetDelete })

Callers

nothing calls this directly

Calls 1

restoreMethod · 0.45

Tested by

no test coverage detected