filesafe/controllers
Bobby Wibowo e2143b4d80
refactor: UserError -> ClientError, ServerError
ClientError will default to 400 HTTP error code.
ServerError will default to 500 HTTP error code.

Following the previous commit, these for now are only being used in
albumsController. More will soon follow.

Additionally fixed existing album names can sometimes be re-used when
editing an album.
2021-01-08 08:44:28 +07:00
..
handlers refactor: UserError -> ClientError, ServerError 2021-01-08 08:44:28 +07:00
utils refactor: UserError -> ClientError, ServerError 2021-01-08 08:44:28 +07:00
albumsController.js refactor: UserError -> ClientError, ServerError 2021-01-08 08:44:28 +07:00
authController.js Removed custom ESLint curly rule 2020-10-31 01:12:09 +07:00
pathsController.js fs.copyFile() for chunks data on non-default path 2020-11-21 06:31:36 +07:00
permissionController.js Removed custom ESLint curly rule 2020-10-31 01:12:09 +07:00
tokenController.js Removed custom ESLint curly rule 2020-10-31 01:12:09 +07:00
uploadController.js refactor: move custom multer storage 2021-01-08 07:25:27 +07:00
utilsController.js removed utils.parallelLimit 2020-12-27 19:44:10 +07:00