Merge pull request #2932 from fatelei/issue-2917

fix: change balance to pointer type
This commit is contained in:
Wesley Liddick authored and GitHub committed 2026-06-01 11:37:33 +08:00
commit a0057f44f2
5 files changed
+83 -16

No files matched your search

+3
View File
@@ -117,8 +117,11 @@ export async function getById(id: number, includeDeleted = false): Promise<Admin
export async function create(userData: {
email: string
password: string
username?: string
notes?: string
balance?: number
concurrency?: number
rpm_limit?: number
allowed_groups?: number[] | null
}): Promise<AdminUser> {
const { data } = await apiClient.post<AdminUser>('/admin/users', userData)