Skip to content

Commit 9604dd6

Browse files
Fix template URL for watched repositories backup
1 parent 9fc63c5 commit 9604dd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github_backup/github_backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3075,7 +3075,7 @@ def backup_account(args, output_directory):
30753075

30763076
if args.include_watched or args.include_everything:
30773077
output_file = "{0}/watched.json".format(account_cwd)
3078-
template = "https://{0}/users/{1}/subscriptions".format(
3078+
template = "https://{0}/user/subscriptions".format(
30793079
get_github_api_host(args), args.user
30803080
)
30813081
_backup_data(args, "watched repositories", template, output_file, account_cwd)

0 commit comments

Comments
 (0)