0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(core): remove needless todo (#1436)

This commit is contained in:
Xiao Yijun 2022-07-06 16:27:12 +08:00 committed by GitHub
parent c45a91f9ea
commit 181e8a228d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,6 @@ export default function koaSlonikErrorHandler<StateT, ContextT>(): Middleware<St
code: 'entity.not_exists', code: 'entity.not_exists',
name: (error as InsertionError<SchemaLike>).schema.tableSingular, name: (error as InsertionError<SchemaLike>).schema.tableSingular,
}); });
// TODO: LOG-1665 Refactor Deletion Handle
case DeletionError: case DeletionError:
case NotFoundError: case NotFoundError:
throw new RequestError({ throw new RequestError({