Skip to content

Commit

Permalink
chore: fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Jul 19, 2024
1 parent bdfe020 commit a5df0e2
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,13 @@ where
let try_get_client = self.server.try_get_client();
FutureResult::new(async move {
let client = try_get_client?;
client
.cancel_subscription(&workspace_id, &SubscriptionPlan::Pro)
.await?; // TODO:
let request = SubscriptionCancelRequest {
workspace_id,
plan: SubscriptionPlan::Pro,
sync: false,
reason: Some("User requested".to_string()),
};
client.cancel_subscription(&request).await?;
Ok(())
})
}
Expand Down

0 comments on commit a5df0e2

Please sign in to comment.