Skip to content

Commit

Permalink
update: change request parameter (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
hqer927 authored Sep 11, 2024
1 parent d0d4a2c commit cc6b1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/flat-server-api/src/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ export interface RemoveBindingResult {
}

export interface SetCollectionAgreementReq {
is_agree_collect_data: boolean;
isAgree: boolean;
}
export interface SetCollectionAgreementResult {
userUUID: string;
Expand All @@ -453,7 +453,7 @@ export async function setCollectionAgreement(
): Promise<SetCollectionAgreementResult> {
return await post<SetCollectionAgreementReq, SetCollectionAgreementResult>(
"user/agreement/set",
{ is_agree_collect_data: isAgree },
{ isAgree },
);
}

Expand Down

0 comments on commit cc6b1e5

Please sign in to comment.