mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 03:26:47 +08:00
feat: public status update
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user