diff options
author | Thomas Citharel <tcit@tcit.fr> | 2019-08-09 18:33:15 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2019-08-09 18:36:12 +0200 |
commit | a7f0161276c06e0d46a86ced9cc9dc5aa1e36486 (patch) | |
tree | 42a6633e0b03a0479d7d46e3e67b3f74dfb6ee8c /contrib | |
parent | Merge pull request #5825 from matrix-org/erikj/fix_empty_limited_sync (diff) | |
download | synapse-a7f0161276c06e0d46a86ced9cc9dc5aa1e36486.tar.xz |
Fix curl command typo in purge_remote_media.sh
Was verbose option instead of -X, command didn't work Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/purge_api/purge_remote_media.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/purge_api/purge_remote_media.sh b/contrib/purge_api/purge_remote_media.sh index 99c07c663d..77220d3bd5 100644 --- a/contrib/purge_api/purge_remote_media.sh +++ b/contrib/purge_api/purge_remote_media.sh @@ -51,4 +51,4 @@ TOKEN=$(sql "SELECT token FROM access_tokens WHERE user_id='$ADMIN' ORDER BY id # finally start pruning media: ############################################################################### set -x # for debugging the generated string -curl --header "Authorization: Bearer $TOKEN" -v POST "$API_URL/admin/purge_media_cache/?before_ts=$UNIX_TIMESTAMP" +curl --header "Authorization: Bearer $TOKEN" -X POST "$API_URL/admin/purge_media_cache/?before_ts=$UNIX_TIMESTAMP" |