File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ module.exports = [
4444 return models . ProductCategory . findById ( req . body . param . key , { paranoid : false } )
4545 . then ( ( existing ) => {
4646 if ( existing ) {
47- const apiErr = new Error ( `Product category already exists(may be deleted) for key "${ req . body . param . key } "` ) ;
47+ const apiErr = new Error ( `Product category already exists (may be deleted) for key "${ req . body . param . key } "` ) ;
4848 apiErr . status = 422 ;
4949 return Promise . reject ( apiErr ) ;
5050 }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ module.exports = [
4545 return models . ProjectType . findById ( req . body . param . key , { paranoid : false } )
4646 . then ( ( existing ) => {
4747 if ( existing ) {
48- const apiErr = new Error ( `Project type already exists(may be deleted) for key "${ req . body . param . key } "` ) ;
48+ const apiErr = new Error ( `Project type already exists (may be deleted) for key "${ req . body . param . key } "` ) ;
4949 apiErr . status = 422 ;
5050 return Promise . reject ( apiErr ) ;
5151 }
You can’t perform that action at this time.
0 commit comments