Skip to content

Commit 1ffcac0

Browse files
committed
fix bearer auth
1 parent 28bb29d commit 1ffcac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmdgen/cmdgen.wasm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func ConstructCommand(parsedInput *gabs.Container, o *lama2cmd.Opts) ([]string,
8282
case "bearer-token":
8383
if token, ok := authValue["token"].(string); ok {
8484
fmt.Println("DBGYYZ: token:", token)
85-
selectedAuthHeader = "Authorization: " + token
85+
selectedAuthHeader = "Authorization: Bearer " + token
8686
}
8787
case "jwt":
8888
if jwt, ok := authValue["jwt"].(string); ok {

0 commit comments

Comments
 (0)