Skip to content

Commit 1b6a4f0

Browse files
fix(docs): sync upgraderr with json changes (#230)
1 parent 6895fa9 commit 1b6a4f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/3rd-party-tools/upgraderr.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ http://upgraderr:6940/api/upgrade
3737
"host": "http://qbittorrent:8080",
3838
"user": "username",
3939
"password": "password",
40-
"name": "{{ .TorrentName | js }}"
40+
"name": {{ toRawJson .TorrentName }}
4141
}
4242
```
4343

@@ -61,7 +61,7 @@ http://upgraderr:6940/api/upgrade
6161
"host": "http://qbittorrent:8080",
6262
"user": "username",
6363
"password": "password",
64-
"name": "{{ .TorrentName | js }}"
64+
"name": {{ toRawJson .TorrentName }}
6565
}
6666
```
6767

@@ -80,7 +80,7 @@ http://upgraderr:6940/api/cross
8080
"host": "http://qbittorrent:8080",
8181
"user": "username",
8282
"password": "password",
83-
"name": "{{ .TorrentName | js }}",
83+
"name": {{ toRawJson .TorrentName }},
8484
"hash": "{{ .TorrentHash }}",
8585
"torrent": "{{ .TorrentDataRawBytes | js }}"
8686
}
@@ -90,4 +90,4 @@ http://upgraderr:6940/api/cross
9090

9191
This is a toolchest, other functionality can be achieved by using other return codes, and attaching other tools to actions taken by the application.
9292

93-
More Information: [github.com/kylesanderson/upgraderr](https://github.com/kylesanderson/upgraderr)
93+
More Information: [github.com/kylesanderson/upgraderr](https://github.com/kylesanderson/upgraderr)

0 commit comments

Comments
 (0)