Skip to content

Commit cc6b1e5

Browse files
authored
update: change request parameter (#2159)
1 parent d0d4a2c commit cc6b1e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flat-server-api/src/login.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export interface RemoveBindingResult {
437437
}
438438

439439
export interface SetCollectionAgreementReq {
440-
is_agree_collect_data: boolean;
440+
isAgree: boolean;
441441
}
442442
export interface SetCollectionAgreementResult {
443443
userUUID: string;
@@ -453,7 +453,7 @@ export async function setCollectionAgreement(
453453
): Promise<SetCollectionAgreementResult> {
454454
return await post<SetCollectionAgreementReq, SetCollectionAgreementResult>(
455455
"user/agreement/set",
456-
{ is_agree_collect_data: isAgree },
456+
{ isAgree },
457457
);
458458
}
459459

0 commit comments

Comments
 (0)