Apply patch [skip ci]
This commit is contained in:
parent
5d9398b2d2
commit
776f22ce62
@ -4,9 +4,7 @@ import { SessionCookie } from "../../auth/callback.ts";
|
||||
import { approveLease, getLeaseById } from "../../../services/leaseService.ts";
|
||||
import { getUserById } from "../../../services/userService.ts";
|
||||
import { getPropertyById } from "../../../services/propertyService.ts";
|
||||
import {
|
||||
sendLeaseApproved,
|
||||
} from "../../../services/notificationService.ts";
|
||||
import { sendLeaseApproved } from "../../../services/notificationService.ts";
|
||||
|
||||
export const handler = define.handlers({
|
||||
async POST(ctx) {
|
||||
|
||||
@ -1,12 +1,10 @@
|
||||
// routes/api/lease/reject.ts
|
||||
import { define } from "../../../utils.ts";
|
||||
import { SessionCookie } from "../../auth/callback.ts";
|
||||
import { rejectLease, getLeaseById } from "../../../services/leaseService.ts";
|
||||
import { getLeaseById, rejectLease } from "../../../services/leaseService.ts";
|
||||
import { getUserById } from "../../../services/userService.ts";
|
||||
import { getPropertyById } from "../../../services/propertyService.ts";
|
||||
import {
|
||||
sendLeaseRejected,
|
||||
} from "../../../services/notificationService.ts";
|
||||
import { sendLeaseRejected } from "../../../services/notificationService.ts";
|
||||
|
||||
export const handler = define.handlers({
|
||||
async POST(ctx) {
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
// routes/api/lease/request-approval.ts
|
||||
import { define } from "../../../utils.ts";
|
||||
import { SessionCookie } from "../../auth/callback.ts";
|
||||
import { requestLeaseApproval } from "../../../services/leaseService.ts";
|
||||
import {
|
||||
getLeaseById,
|
||||
requestLeaseApproval,
|
||||
} from "../../../services/leaseService.ts";
|
||||
import {
|
||||
getTenantInviteById,
|
||||
updateTenantInvite,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user