From d8d3cd20684be4238081e73fc124278508c3e27b Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 2 Aug 2022 22:53:35 +0300 Subject: [PATCH] Register subscription --- selfprivacy_api/graphql/schema.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfprivacy_api/graphql/schema.py b/selfprivacy_api/graphql/schema.py index 4a7aad5..03d8021 100644 --- a/selfprivacy_api/graphql/schema.py +++ b/selfprivacy_api/graphql/schema.py @@ -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)