From c2a2ab1cf7d9943faedae8368d1369d86ea83b8e Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Mon, 10 Jun 2024 18:41:53 +0200 Subject: [PATCH] Fix const syntax --- jwt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwt.go b/jwt.go index 07368b0..ad60818 100644 --- a/jwt.go +++ b/jwt.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/viper" ) -const ExpectedScope := "posthog:livestream" +const ExpectedScope = "posthog:livestream" func decodeAuthToken(authHeader string) (jwt.MapClaims, error) { // split the token