bugfixing free trial payment
This commit is contained in:
parent
a1be147e0c
commit
a1cfe28091
@ -49,7 +49,8 @@ export const POST = async ({ request, locals }) => {
|
||||
//console.log(status, refunded, tier)
|
||||
try {
|
||||
await locals.pb.collection('users').update(userId, {
|
||||
'tier': tier
|
||||
'tier': tier,
|
||||
'freeTrial': false
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user