feat: public status update

This commit is contained in:
DiamondThree
2022-12-23 18:56:50 +08:00
parent 922b6c3c34
commit 2acc94cf2c
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ export interface UpdateWorkspaceParams {
export async function updateWorkspace(
params: UpdateWorkspaceParams
): Promise<void> {
): Promise<{ public: boolean | null }> {
return client
.post(`/api/workspace/${params.id}`, {
json: {