Skip to content

Commit

Permalink
Removed old testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathund committed Jan 15, 2024
1 parent aa77463 commit 5e1fc92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/endpoints/save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default (app: Application) => {
return res.status(400).send({ success: false, message: 'Invalid API key' });
}
apiMessage(req.path, 'User is trying to save a file');
errorMessage((req.files as any).file);
const file = (req.files as any).file;
if (!file) {
errorMessage('No file provided for upload');
Expand Down

0 comments on commit 5e1fc92

Please sign in to comment.