MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / setGroups

Method setGroups

packages/sdks/sdk/src/index.ts:217–227  ·  view source on GitHub ↗
(groupIds: string[])

Source from the content-addressed store, hash-verified

215 }
216
217 setGroups(groupIds: string[]) {
218 this.log('set groups', groupIds);
219 this.groups = [...new Set([...this.groups, ...groupIds])];
220 return this.send({
221 type: 'assign_group',
222 payload: {
223 groupIds,
224 profileId: this.profileId,
225 },
226 });
227 }
228
229 /**
230 * @deprecated This method is deprecated and will be removed in a future version.

Callers

nothing calls this directly

Calls 2

logMethod · 0.95
sendMethod · 0.95

Tested by

no test coverage detected