Skip to content

Commit 80355a7

Browse files
linter
Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com>
1 parent e96c6fc commit 80355a7

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

internal/httpserve/handlers/msftidentity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type application struct {
2929
// }
3030
// ]
3131
// }
32-
func (h *Handler) MSFTIdentityWellKnownHandler(ctx echo.Context, openapi *OpenAPIContext) error {
32+
func (h *Handler) MSFTIdentityWellKnownHandler(ctx echo.Context) error {
3333
entraAppID := h.IntegrationsConfig.AzureEntraID.ApplicationID
3434
oneDriveAppID := h.IntegrationsConfig.OneDrive.ApplicationID
3535
teamsAppID := h.IntegrationsConfig.MicrosoftTeams.ApplicationID

internal/httpserve/route/msft_application.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import (
1111
// https://<domain>/.well-known/microsoft-identity-association.json
1212
func registerMSFTIdentityWellKnownHandler(router *Router) (err error) {
1313
config := Config{
14-
Path: "/.well-known/microsoft-identity-association.json",
15-
Method: http.MethodGet,
16-
Name: "MSFTIdentityWellKnown",
17-
Description: "Microsoft Identity Association well-known configuration file",
18-
Tags: []string{"well-known", "msft", "azure"},
19-
OperationID: "MSFTIdentityWellKnown",
20-
Security: handlers.PublicSecurity,
21-
Middlewares: *publicEndpoint,
22-
Handler: router.Handler.MSFTIdentityWellKnownHandler,
14+
Path: "/.well-known/microsoft-identity-association.json",
15+
Method: http.MethodGet,
16+
Name: "MSFTIdentityWellKnown",
17+
Description: "Microsoft Identity Association well-known configuration file",
18+
Tags: []string{"well-known", "msft", "azure"},
19+
OperationID: "MSFTIdentityWellKnown",
20+
Security: handlers.PublicSecurity,
21+
Middlewares: *publicEndpoint,
22+
SimpleHandler: router.Handler.MSFTIdentityWellKnownHandler,
2323
}
2424

2525
return router.AddUnversionedHandlerRoute(config)

0 commit comments

Comments
 (0)