We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32027d3 commit d94f1a7Copy full SHA for d94f1a7
index.ts
@@ -66,7 +66,7 @@ export default class InlineCreatePlugin extends AdminForthPlugin {
66
server.endpoint({
67
method: 'POST',
68
path: `/plugin/${this.pluginInstanceId}/create`,
69
- handler: async ({ body, adminforth, adminUser }) => {
+ handler: async ({ body, adminUser }) => {
70
const { record, resourceId } = body;
71
72
const resource = this.adminforth.config.resources.find(r => r.resourceId === resourceId);
0 commit comments