internal/handlers/telegram/imgur.go
Function getImgurAccessToken
has 6 return statements (exceeds 4 allowed). Open
Open
func getImgurAccessToken(tg *Client) {
if tg.ImgurSettings.ImgurClientID == "" || tg.ImgurSettings.ImgurRefreshToken == "" {
tg.logger.LogError("Imgur client secret and refresh token must be set")
return
}
- Create a ticketCreate a ticket