MCPcopy Create free account
hub / github.com/dfinity/orbit / addUser

Method addUser

apps/wallet/src/services/station.service.ts:328–344  ·  view source on GitHub ↗
(input: AddUserOperationInput)

Source from the content-addressed store, hash-verified

326 }
327
328 async addUser(input: AddUserOperationInput): Promise<Request> {
329 const result = await this.actor.create_request({
330 execution_plan: [{ Immediate: null }],
331 expiration_dt: [],
332 title: [],
333 summary: [],
334 operation: { AddUser: input },
335 deduplication_key: [],
336 tags: [],
337 });
338
339 if (variantIs(result, 'Err')) {
340 throw result.Err;
341 }
342
343 return result.Ok.request;
344 }
345
346 async editUser(input: EditUserOperationInput): Promise<Request> {
347 const result = await this.actor.create_request({

Callers

nothing calls this directly

Calls 2

variantIsFunction · 0.90
create_requestMethod · 0.45

Tested by

no test coverage detected