feat(subs): add @hasScope dir to streamCreated

This commit is contained in:
izzy lyseggen
2020-08-11 14:39:48 +01:00
parent ee06bdf63d
commit fa209157bc
+1 -1
View File
@@ -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 {