Skip to content

Commit d371554

Browse files
committed
V14 integrations (zapier/forms)
- Make method protected - Remove redundant comments
1 parent b2011b2 commit d371554

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Umbraco.Forms.Integrations.Automation.Zapier/Api/Management/Controllers/FormsControllerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public FormsControllerBase(
2626
ZapierFormService = zapierFormService;
2727
}
2828

29-
public bool IsAccessValid()
29+
protected bool IsAccessValid()
3030
{
3131
string username = string.Empty;
3232
string password = string.Empty;

src/Umbraco.Forms.Integrations.Automation.Zapier/ZapierFormsComposer.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ public void Compose(IUmbracoBuilder builder)
4747
Version = "Latest",
4848
Description = $"Describes the {Constants.ManagementApi.ApiTitle} available for handling Zapier Forms automation and configuration."
4949
});
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+
5251
options.CustomOperationIds(e => $"{e.ActionDescriptor.RouteValues["action"]}");
5352
});
5453
}

0 commit comments

Comments
 (0)