updateProfile(Defined in: packages/modelence/src/auth/client/index.ts:93 Update the current user’s profile.options):Promise<null|User>
Example
Parameters
| Parameter | Type | Description |
|---|---|---|
options | { avatarUrl?: string; firstName?: string; handle?: string; lastName?: string; } | - |
options.avatarUrl? | string | The avatar URL of the user. |
options.firstName? | string | The first name of the user. |
options.handle? | string | The handle of the user. |
options.lastName? | string | The last name of the user. |
Returns
Promise<null | User>