Skip to content

Commit

Permalink
feat: use raw b64
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcguire1 committed Dec 14, 2023
1 parent 6cac215 commit 8f9dbf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dom/chatmodels/gemini_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type GeminiApiClient struct {
}

func NewGeminiApiClient(token string) *GeminiApiClient {
tkn, _ := base64.StdEncoding.DecodeString(token)
tkn, _ := base64.RawStdEncoding.DecodeString(token)

return &GeminiApiClient{
Token: tkn,
Expand Down

0 comments on commit 8f9dbf4

Please sign in to comment.