MCPcopy Create free account
hub / github.com/msgbyte/tailchat / modifyUserExtra

Function modifyUserExtra

client/shared/model/user.ts:387–397  ·  view source on GitHub ↗
(
  fieldName: string,
  fieldValue: unknown
)

Source from the content-addressed store, hash-verified

385}
386
387export async function modifyUserExtra(
388 fieldName: string,
389 fieldValue: unknown
390): Promise<UserBaseInfo> {
391 const { data } = await request.post('/api/user/updateUserExtra', {
392 fieldName,
393 fieldValue,
394 });
395
396 return data;
397}
398
399/**
400 * 获取用户设置

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected