1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-09-18 23:01:35 +02:00

#94 remove new lines in token files.

This commit is contained in:
Andreas Wachter 2022-02-24 21:22:10 +01:00
parent bee477bf65
commit 9e4e9e1d6a

View File

@ -199,7 +199,7 @@ func resolveToken(tokenString string, tokenFile string) (string, error) {
Str("path", tokenFile).
Msg("Read token file")
tokenData := string(data)
tokenData := strings.ReplaceAll(string(data), "\n", "")
return tokenData, nil
}