Mise à jour de 'synapse-cleaner.sh'

This commit is contained in:
Dryusdan 2020-09-18 10:07:32 +02:00
parent 4736fae887
commit 6532d35830
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ source utils/config
CURLBIN="/usr/bin/env curl"
function purge_img{
function purge_img {
${CURLBIN} -X POST "${HS_URL}${API_URL}purge_media_cache?before_ts=$(($(date --date="1 month ago" +%s%N)/1000000))&access_token=${ACCESS_TOKEN}"
}
function get_room {