Skip to content

Commit

Permalink
Merge pull request #365 from specklesystems/jedd/cxpla-132-update-con…
Browse files Browse the repository at this point in the history
…nectors-usage-of-user-queries-to-use-activeuser

updated active user streams
  • Loading branch information
gjedlicska authored Dec 10, 2024
2 parents a0e10aa + ed84820 commit 8dcc67f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/specklepy/core/api/resources/deprecated/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def list(self, stream_limit: int = 10) -> List[Stream]:
query = gql(
"""
query User($stream_limit: Int!) {
user {
activeUser {
id
bio
name
Expand Down Expand Up @@ -149,7 +149,7 @@ def list(self, stream_limit: int = 10) -> List[Stream]:
params = {"stream_limit": stream_limit}

return self.make_request(
query=query, params=params, return_type=["user", "streams", "items"]
query=query, params=params, return_type=["activeUser", "streams", "items"]
)

@deprecated(reason=FE1_DEPRECATION_REASON, version=FE1_DEPRECATION_VERSION)
Expand Down

0 comments on commit 8dcc67f

Please sign in to comment.