store: Add a missing use-database decorator.

This commit is contained in:
Damir Jelić 2020-12-02 12:42:42 +01:00
parent ec00d06c16
commit 726e96944d

View File

@ -226,6 +226,7 @@ class PanStore:
user=user, room_id=task.room_id, token=task.token
).execute()
@use_database
def load_fetcher_tasks(self, server, pan_user):
server = Servers.get(name=server)
user = ServerUsers.get(server=server, user_id=pan_user)