mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-27 05:22:22 +03:00
feat: fix api name and params
This commit is contained in:
parent
7a0e205ff8
commit
44e20cec3c
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user