feat: fix api name and params

This commit is contained in:
MingLiang Wang 2023-01-10 12:21:05 +08:00
parent 7a0e205ff8
commit 44e20cec3c

View File

@ -191,8 +191,8 @@ export class DataCenter {
* @param {WorkspaceMeta} workspaceMeta workspace meta
* @param {BlocksuiteWorkspace} workspace workspace instance
*/
public async resetWorkspaceMeta(
{ name, avatar }: WorkspaceMeta,
public async updateWorkspaceMeta(
{ name, avatar }: Partial<WorkspaceMeta>,
workspace: BlocksuiteWorkspace
) {
assert(workspace?.room, 'No workspace to set meta');