mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
store: Add a missing use-database decorator.
This commit is contained in:
parent
ec00d06c16
commit
726e96944d
@ -226,6 +226,7 @@ class PanStore:
|
|||||||
user=user, room_id=task.room_id, token=task.token
|
user=user, room_id=task.room_id, token=task.token
|
||||||
).execute()
|
).execute()
|
||||||
|
|
||||||
|
@use_database
|
||||||
def load_fetcher_tasks(self, server, pan_user):
|
def load_fetcher_tasks(self, server, pan_user):
|
||||||
server = Servers.get(name=server)
|
server = Servers.get(name=server)
|
||||||
user = ServerUsers.get(server=server, user_id=pan_user)
|
user = ServerUsers.get(server=server, user_id=pan_user)
|
||||||
|
Loading…
Reference in New Issue
Block a user