Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
edge33 committed Sep 19, 2024
1 parent 7268234 commit df7bf37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/upload-api/src/routes/metadata/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export default async function routes(app: FastifyInstance) {

await removeAllFileSharings(app.pg, fileId);
} catch (err) {
throw new ServerError(SCHEDULE_DELETION, "Internal server error", err);
throw new ServerError(SCHEDULE_DELETION, "Error deleting file", err);
}

reply.send({ data: { id: fileId } });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface paths {
parameters: {
query?: {
status?: "delivered";
isSeen?: boolean;
isSeen?: "true" | "false" | "0" | "1";
/** @description Either recipientUserId and organisationId are mandatory */
recipientUserId?: string;
/** @description Either recipientUserId and organisationId are mandatory */
Expand Down

0 comments on commit df7bf37

Please sign in to comment.