🚨 fix: resolve linting type error
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 31s
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 31s
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import slugify from "slugify";
|
||||
import { AppError } from "../../../helpers/error/instances/app";
|
||||
import { prisma } from "../../../utils/databases/prisma/connection";
|
||||
import { Prisma } from "@prisma/client";
|
||||
|
||||
export type DeleteUserCollectionBySystemPayload = {
|
||||
userId: string;
|
||||
@ -27,6 +26,6 @@ export const deleteItemInUserCollectionBySystemRepository = async (payload: Dele
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
throw new AppError(500, "Failed to remove item from collection");
|
||||
throw new AppError(500, "Failed to remove item from collection", error);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user