mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
code cleaning
This commit is contained in:
parent
2f8fd4adc2
commit
52a2a41664
@ -16,7 +16,9 @@ const fileInfoSchema = yup.object({
|
||||
return true;
|
||||
}
|
||||
|
||||
return getService('folder').exists({ id: folderId });
|
||||
const exists = await getService('folder').exists({ id: folderId });
|
||||
|
||||
return exists;
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user