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 = [
44
44
return models . ProductCategory . findById ( req . body . param . key , { paranoid : false } )
45
45
. then ( ( existing ) => {
46
46
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 } "` ) ;
48
48
apiErr . status = 422 ;
49
49
return Promise . reject ( apiErr ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ module.exports = [
45
45
return models . ProjectType . findById ( req . body . param . key , { paranoid : false } )
46
46
. then ( ( existing ) => {
47
47
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 } "` ) ;
49
49
apiErr . status = 422 ;
50
50
return Promise . reject ( apiErr ) ;
51
51
}
You can’t perform that action at this time.
0 commit comments