We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8ebdf commit d9486adCopy full SHA for d9486ad
index.ts
@@ -37,18 +37,6 @@ export default class extends AdminForthPlugin {
37
instanceUniqueRepresentation(pluginOptions: any) : string {
38
// optional method to return unique string representation of plugin instance.
39
// Needed if plugin can have multiple instances on one resource
40
- return `single`;
+ return `${this.resourceConfig.resourceId}-clone-row`;
41
}
42
-
43
- setupEndpoints(server: IHttpServer) {
44
- server.endpoint({
45
- method: 'POST',
46
- path: `/plugin/${this.pluginInstanceId}/example`,
47
- handler: async ({ body }) => {
48
- const { name } = body;
49
- return { hey: `Hello ${name}` };
50
- }
51
- });
52
53
54
0 commit comments