mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore: remove deprecated endpoint (#13190)
This commit is contained in:
parent
08db817d14
commit
7ee0221c8e
12 changed files with 0 additions and 350 deletions
|
|
@ -1,9 +1,7 @@
|
|||
import { Body, Controller, Get, Inject, Next, Param, Post, Put, Query, Res } from '@nestjs/common';
|
||||
import { ApiTags } from '@nestjs/swagger';
|
||||
import { NextFunction, Response } from 'express';
|
||||
import { EndpointLifecycle } from 'src/decorators';
|
||||
import { BulkIdResponseDto } from 'src/dtos/asset-ids.response.dto';
|
||||
import { AssetResponseDto } from 'src/dtos/asset-response.dto';
|
||||
import { AuthDto } from 'src/dtos/auth.dto';
|
||||
import {
|
||||
AssetFaceUpdateDto,
|
||||
|
|
@ -83,13 +81,6 @@ export class PersonController {
|
|||
await sendFile(res, next, () => this.service.getThumbnail(auth, id), this.logger);
|
||||
}
|
||||
|
||||
@EndpointLifecycle({ deprecatedAt: 'v1.113.0' })
|
||||
@Get(':id/assets')
|
||||
@Authenticated()
|
||||
getPersonAssets(@Auth() auth: AuthDto, @Param() { id }: UUIDParamDto): Promise<AssetResponseDto[]> {
|
||||
return this.service.getAssets(auth, id);
|
||||
}
|
||||
|
||||
@Put(':id/reassign')
|
||||
@Authenticated({ permission: Permission.PERSON_REASSIGN })
|
||||
reassignFaces(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue