From cc6b1e5ed1fff05f96e63874cd7f7b6cb89ef4a4 Mon Sep 17 00:00:00 2001 From: hqer927 <41457198+hqer927@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:42:52 +0800 Subject: [PATCH] update: change request parameter (#2159) --- 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 }, ); }