Skip to content

Commit dc13a15

Browse files
committed
fix: remove unused functions
1 parent c3af723 commit dc13a15

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/fibercommon/jwtmiddleware/jwtmiddleware_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ func setupTestApp(jwkSetURLs ...string) *fiber.App {
142142
return app
143143
}
144144

145-
// setupTokenClaims creates token claims and sets them in the context.
146-
func setupTokenClaims(c *fiber.Ctx, claims *tokenclaims.Token) {
147-
c.Locals(TokenClaimsKey, claims)
148-
}
149-
150145
// makeToken is a helper function to create a Token with the given asset and permissions.
151146
func makeToken(asset string, permissions []string) *tokenclaims.Token {
152147
token := &tokenclaims.Token{

0 commit comments

Comments
 (0)