Refactor: withFile --> requireFile
This commit is contained in:
@@ -38,7 +38,7 @@ export default (endpoint: string, user: IUser, app: IApp, data: any, file?: any)
|
||||
|
||||
let exec = ep.exec;
|
||||
|
||||
if (ep.meta.withFile && file) {
|
||||
if (ep.meta.requireFile && file) {
|
||||
exec = exec.bind(null, file);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user