Skip to content

Commit

Permalink
Update packages/backend/src/server/api/endpoints/gallery/posts/update.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored Jun 22, 2024
1 parent f2d4765 commit eef1233
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
id: fileId,
userId: me.id,
}),
))).filter(x => x != null));
))).filter(x => x != null);

if (files.length === 0) {
throw new Error();
Expand Down

0 comments on commit eef1233

Please sign in to comment.