Skip to content

Commit

Permalink
Update UserController.js
Browse files Browse the repository at this point in the history
  • Loading branch information
basemkhirat authored Aug 16, 2020
1 parent 1abcc3c commit e52bc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/v1/UserController.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export default class extends Controller {
await user.remove();

return res.ok(id, req.lang("user.events.deleted"));
} catch (e) {
} catch (error) {
return res.serverError(error);
}
}
Expand Down

0 comments on commit e52bc85

Please sign in to comment.