Skip to content
Snippets Groups Projects
Unverified Commit a7f01612 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Fix curl command typo in purge_remote_media.sh


Was verbose option instead of -X, command didn't work

Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent d1b5b055
Branches
Tags
No related merge requests found
The purge_remote_media.sh script was fixed
...@@ -51,4 +51,4 @@ TOKEN=$(sql "SELECT token FROM access_tokens WHERE user_id='$ADMIN' ORDER BY id ...@@ -51,4 +51,4 @@ TOKEN=$(sql "SELECT token FROM access_tokens WHERE user_id='$ADMIN' ORDER BY id
# finally start pruning media: # finally start pruning media:
############################################################################### ###############################################################################
set -x # for debugging the generated string 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment