Skip to content

Commit

Permalink
fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
broneks committed Nov 30, 2024
1 parent 42b1ac1 commit 899fbb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .air.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
bin = "tmp/piccolo"
cmd = "go build -o tmp/piccolo cmd/piccolo"
cmd = "go build -o tmp/piccolo ./cmd/piccolo"
watch_dir = ["."]
include_ext = ["go", "html"]

Expand Down
1 change: 1 addition & 0 deletions api/helper/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func ExtractTokenString(authHeader string) (string, error) {
return "", fmt.Errorf("token is missing")
}

return tokenString, nil
}

return "", fmt.Errorf("invalid authorization header format")
Expand Down

0 comments on commit 899fbb7

Please sign in to comment.