jellyseerr: format telegram ChatID as string

didn't accept an integer.
This commit is contained in:
Harvey Tindall
2025-11-26 21:16:07 +00:00
parent d6d73e81d6
commit 51961d16ba

View File

@@ -175,7 +175,7 @@ func (js *JellyseerrWrapper) SetContactMethods(jellyfinID string, email *string,
contactMethods[jellyseerr.FieldTelegramEnabled] = true
}
if telegram != nil {
contactMethods[jellyseerr.FieldTelegram] = telegram.ChatID
contactMethods[jellyseerr.FieldTelegram] = strconv.FormatInt(telegram.ChatID, 10)
// Whether this is still necessary or not, i don't know.
if telegram.ChatID == 0 {
contactMethods[jellyseerr.FieldTelegram] = jellyseerr.BogusIdentifier