Mise à jour de 'synapse-cleaner.sh'
This commit is contained in:
parent
4736fae887
commit
6532d35830
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue