From fee96a82d74649c107b923d6da8f6f773e471674 Mon Sep 17 00:00:00 2001 From: hqer927 <285569480@qq.com> Date: Wed, 11 Sep 2024 15:30:52 +0800 Subject: [PATCH] update: change request parameter --- packages/flat-server-api/src/login.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flat-server-api/src/login.ts b/packages/flat-server-api/src/login.ts index 7e7917989fe..f764f3a0e21 100644 --- a/packages/flat-server-api/src/login.ts +++ b/packages/flat-server-api/src/login.ts @@ -437,7 +437,7 @@ export interface RemoveBindingResult { } export interface SetCollectionAgreementReq { - is_agree_collect_data: boolean; + isAgree: boolean; } export interface SetCollectionAgreementResult { userUUID: string; @@ -453,7 +453,7 @@ export async function setCollectionAgreement( ): Promise { return await post( "user/agreement/set", - { is_agree_collect_data: isAgree }, + { isAgree }, ); }