Commit 03710ea
committed
fix(upload): pass session to delta/status endpoint for auth
Both standalone_upload_client.py and remote_upload_client.py now pass
the session from ~/.ctxce/auth.json as a query parameter to the
/api/v1/delta/status endpoint. This fixes 401 errors when auth is
enabled and the user has logged in.1 parent 292975d commit 03710ea
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
1199 | 1204 | | |
1200 | 1205 | | |
1201 | | - | |
| 1206 | + | |
1202 | 1207 | | |
1203 | 1208 | | |
1204 | 1209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1401 | 1406 | | |
1402 | 1407 | | |
1403 | | - | |
| 1408 | + | |
1404 | 1409 | | |
1405 | 1410 | | |
1406 | 1411 | | |
| |||
0 commit comments