Compare commits
2 Commits
3.3.0-dev.1
...
3.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 227729a0df | |||
| 178085f3f8 |
@@ -7,6 +7,10 @@ public sealed class Workspace
|
|||||||
public string role { get; init; }
|
public string role { get; init; }
|
||||||
public string slug { get; init; }
|
public string slug { get; init; }
|
||||||
public string? description { get; init; }
|
public string? description { get; init; }
|
||||||
|
public string? logo { get; init; }
|
||||||
|
public DateTime? createdAt { get; init; }
|
||||||
|
public DateTime? updatedAt { get; init; }
|
||||||
|
public bool? readOnly { get; init; }
|
||||||
public WorkspacePermissionChecks permissions { get; init; }
|
public WorkspacePermissionChecks permissions { get; init; }
|
||||||
public WorkspaceCreationState? creationState { get; init; }
|
public WorkspaceCreationState? creationState { get; init; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,10 +50,10 @@ public sealed class WorkspaceResource
|
|||||||
var request = new GraphQLRequest { Query = QUERY, Variables = new { workspaceId } };
|
var request = new GraphQLRequest { Query = QUERY, Variables = new { workspaceId } };
|
||||||
|
|
||||||
var response = await _client
|
var response = await _client
|
||||||
.ExecuteGraphQLRequest<RequiredResponse<RequiredResponse<Workspace>>>(request, cancellationToken)
|
.ExecuteGraphQLRequest<RequiredResponse<Workspace>>(request, cancellationToken)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
|
|
||||||
return response.data.data;
|
return response.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <param name="workspaceId"></param>
|
/// <param name="workspaceId"></param>
|
||||||
|
|||||||
Reference in New Issue
Block a user