File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export class FilesRouter {
100
100
next (
101
101
new Parse . Error (
102
102
Parse . Error . FILE_SAVE_ERROR ,
103
- 'File upload by anonymous user is not allowed .'
103
+ 'File upload by anonymous user is disabled .'
104
104
)
105
105
) ;
106
106
return ;
@@ -109,13 +109,13 @@ export class FilesRouter {
109
109
next (
110
110
new Parse . Error (
111
111
Parse . Error . FILE_SAVE_ERROR ,
112
- 'File upload by authenticated users is not enabled .'
112
+ 'File upload by authenticated user is disabled .'
113
113
)
114
114
) ;
115
115
return ;
116
116
}
117
117
if ( ! config . fileUpload . enableForPublic && ! user ) {
118
- next ( new Parse . Error ( Parse . Error . FILE_SAVE_ERROR , 'File upload by public is not enabled .' ) ) ;
118
+ next ( new Parse . Error ( Parse . Error . FILE_SAVE_ERROR , 'File upload by public is disabled .' ) ) ;
119
119
return ;
120
120
}
121
121
const filesController = config . filesController ;
You can’t perform that action at this time.
0 commit comments