Skip to content

Commit

Permalink
fix typo in error key
Browse files Browse the repository at this point in the history
  • Loading branch information
wheelsandcogs committed Dec 11, 2024
1 parent b714230 commit a2759d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const provideTitle = async (req: Request, res: Response, next: NextFuncti
return;
} catch (err) {
if (err instanceof ApiException) {
errors = [{ field: 'api', message: { key: 'error.try_later' } }];
errors = [{ field: 'api', message: { key: 'errors.try_later' } }];
}
}
}
Expand Down

0 comments on commit a2759d9

Please sign in to comment.