Updates
This commit is contained in:
@@ -77,6 +77,7 @@ export default async function checks<
|
||||
const middRes = await crudMiddleware({
|
||||
body: newBody || ({} as any),
|
||||
query: newQuery || {},
|
||||
table,
|
||||
});
|
||||
|
||||
newBody = _.merge(newBody, middRes);
|
||||
@@ -86,6 +87,7 @@ export default async function checks<
|
||||
const middRes = await postMiddleware({
|
||||
body: newBody || ({} as any),
|
||||
query: newQuery || {},
|
||||
table,
|
||||
});
|
||||
|
||||
newBody = _.merge(newBody, middRes);
|
||||
@@ -95,6 +97,7 @@ export default async function checks<
|
||||
const middRes = await putMiddleware({
|
||||
body: newBody || ({} as any),
|
||||
query: newQuery || {},
|
||||
table,
|
||||
});
|
||||
|
||||
newBody = _.merge(newBody, middRes);
|
||||
@@ -104,6 +107,7 @@ export default async function checks<
|
||||
const middRes = await deleteMiddleware({
|
||||
body: newBody || ({} as any),
|
||||
query: newQuery || {},
|
||||
table,
|
||||
});
|
||||
|
||||
newBody = _.merge(newBody, middRes);
|
||||
|
||||
Reference in New Issue
Block a user