fixes bug in sending webhook with wrong attr type

This commit is contained in:
bobokun 2023-07-15 14:48:38 -04:00
parent 2693687552
commit b217bbcdba
No known key found for this signature in database
GPG key ID: B73932169607D927
3 changed files with 5 additions and 5 deletions

View file

@ -1 +1 @@
4.0.3-develop1
4.0.3-develop2

View file

@ -128,7 +128,7 @@ class CrossSeed:
"torrents": [t_name],
"torrent_category": t_cat,
"torrent_tag": "cross-seed",
"torrent_tracker": tracker,
"torrent_tracker": tracker["url"],
}
self.notify_attr.append(attr)
self.torrents_updated.append(t_name)

View file

@ -46,7 +46,7 @@ class ReCheck:
"title": "Resuming Torrent",
"body": body,
"torrents": [t_name],
"torrent_tag": tracker["tag"],
"torrent_tag": ", ".join(tracker["tag"]),
"torrent_category": t_category,
"torrent_tracker": tracker["url"],
"notifiarr_indexer": tracker["notifiarr"],
@ -95,7 +95,7 @@ class ReCheck:
"title": "Resuming Torrent",
"body": body,
"torrents": [t_name],
"torrent_tag": tracker["tag"],
"torrent_tag": ", ".join(tracker["tag"]),
"torrent_category": t_category,
"torrent_tracker": tracker["url"],
"notifiarr_indexer": tracker["notifiarr"],
@ -120,7 +120,7 @@ class ReCheck:
"title": "Rechecking Torrent",
"body": body,
"torrents": [t_name],
"torrent_tag": tracker["tag"],
"torrent_tag": ", ".join(tracker["tag"]),
"torrent_category": t_category,
"torrent_tracker": tracker["url"],
"notifiarr_indexer": tracker["notifiarr"],