File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/Umbraco.Forms.Integrations.Automation.Zapier
Api/Management/Controllers Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public FormsControllerBase(
26
26
ZapierFormService = zapierFormService ;
27
27
}
28
28
29
- public bool IsAccessValid ( )
29
+ protected bool IsAccessValid ( )
30
30
{
31
31
string username = string . Empty ;
32
32
string password = string . Empty ;
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ public void Compose(IUmbracoBuilder builder)
47
47
Version = "Latest" ,
48
48
Description = $ "Describes the { Constants . ManagementApi . ApiTitle } available for handling Zapier Forms automation and configuration."
49
49
} ) ;
50
- // remove this as Swagger throws an ArgumentException: An item with the same key has already been added. Key: 401
51
- //options.OperationFilter<BackOfficeSecurityRequirementsOperationFilter>();
50
+
52
51
options . CustomOperationIds ( e => $ "{ e . ActionDescriptor . RouteValues [ "action" ] } ") ;
53
52
} ) ;
54
53
}
You can’t perform that action at this time.
0 commit comments