fix(server): selfhost subscription customer portal creation (#10149)

This commit is contained in:
forehalo
2025-02-13 08:23:28 +00:00
parent ea95ff39c5
commit ab538ef9bb
2 changed files with 6 additions and 9 deletions
@@ -222,11 +222,8 @@ export class LicenseService implements OnModuleInit {
await this.fetchAffinePro(`/api/team/licenses/${license.key}/seats`, {
method: 'POST',
body: JSON.stringify({
quantity: count,
seats: count,
}),
headers: {
'Content-Type': 'application/json',
},
});
// stripe payment is async, we can't directly the charge result in update calling