mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-28 06:51:28 +00:00
Register subscription
This commit is contained in:
parent
52a58d94e7
commit
d8d3cd2068
|
@ -15,6 +15,7 @@ from selfprivacy_api.graphql.queries.system import System
|
|||
|
||||
from selfprivacy_api.graphql.mutations.users_mutations import UserMutations
|
||||
from selfprivacy_api.graphql.queries.users import Users
|
||||
from selfprivacy_api.graphql.subscriptions.jobs import JobSubscription
|
||||
from selfprivacy_api.jobs.test import test_job
|
||||
|
||||
|
||||
|
@ -66,4 +67,4 @@ class Mutation(
|
|||
pass
|
||||
|
||||
|
||||
schema = strawberry.Schema(query=Query, mutation=Mutation)
|
||||
schema = strawberry.Schema(query=Query, mutation=Mutation, subscription=JobSubscription)
|
||||
|
|
Loading…
Reference in a new issue