Skip to content

Commit

Permalink
use new endpoint to delete local media by date/size
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonChen666 committed Mar 11, 2024
1 parent cc23998 commit 5bd5e3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions synadm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,8 +1043,7 @@ def media_delete_by_date_or_size(self, server_name, before_days, before,
"keep_profiles": "false"
})
return self.query(
"post", "v1/media/{server_name}/delete", data={}, params=params,
server_name=server_name
"post", "v1/media/delete", data={}, params=params
)

def media_protect(self, media_id):
Expand Down

0 comments on commit 5bd5e3c

Please sign in to comment.