schema updates to rental statuses
This commit is contained in:
@@ -50,11 +50,6 @@ class PayoutService {
|
||||
throw new Error("Invalid payout amount");
|
||||
}
|
||||
|
||||
// Update status to processing
|
||||
await rental.update({
|
||||
payoutStatus: "processing",
|
||||
});
|
||||
|
||||
// Create Stripe transfer
|
||||
const transfer = await StripeService.createTransfer({
|
||||
amount: rental.payoutAmount,
|
||||
|
||||
Reference in New Issue
Block a user