From fa209157bc23d8ef1af37304baea3ec70ed8a9bd Mon Sep 17 00:00:00 2001 From: izzy lyseggen Date: Tue, 11 Aug 2020 14:39:48 +0100 Subject: [PATCH] feat(subs): add @hasScope dir to streamCreated --- modules/core/graph/schemas/streams.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/graph/schemas/streams.graphql b/modules/core/graph/schemas/streams.graphql index 02793fa87..bd314b1ac 100644 --- a/modules/core/graph/schemas/streams.graphql +++ b/modules/core/graph/schemas/streams.graphql @@ -64,7 +64,7 @@ extend type Subscription { """ Subscribes to new stream creation. """ - streamCreated( ownerId: String! ): Stream! + streamCreated( ownerId: String! ): Stream! @hasScope(scope: "streams:read") } input StreamCreateInput {