allows for disableErrors to be passed through local findByID
This commit is contained in:
@@ -7,6 +7,7 @@ async function findByID(options) {
|
||||
fallbackLocale,
|
||||
user,
|
||||
overrideAccess = true,
|
||||
disableErrors = false,
|
||||
} = options;
|
||||
|
||||
const collection = this.collections[collectionSlug];
|
||||
@@ -16,6 +17,7 @@ async function findByID(options) {
|
||||
id,
|
||||
collection,
|
||||
overrideAccess,
|
||||
disableErrors,
|
||||
req: {
|
||||
user,
|
||||
payloadAPI: 'local',
|
||||
|
||||
Reference in New Issue
Block a user