Skip to content

Commit

Permalink
Remove unnecessary conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Aug 1, 2024
1 parent 2cef884 commit 94bd2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/workers/spreadsheets/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (c *spreadsheeter) Spreadsheets() *Spreadsheets {
}

var token oauth2.Token
err = json.Unmarshal([]byte(tokenS), &token)
err = json.Unmarshal(tokenS, &token)
if err != nil {
panic(fmt.Errorf("failed to unmarshal token: %w", err))
}
Expand Down

0 comments on commit 94bd2c2

Please sign in to comment.