Admin Workflow - API code refactor to fetch information to display on workflow

This commit is contained in:
Dillon Ngo
2025-01-04 22:38:42 +08:00
parent abe1f3df2b
commit db36336484
9 changed files with 249 additions and 115 deletions
@@ -94,6 +94,11 @@ class FetchAdminWFBookingLogic extends AbstractControllerLogic
// 'booking' => $booking
// ]);
// return responseJson([
// 'booking' => new BookingBaseResource($booking)
// ]);
return $this->resourceResponse(new BookingBaseResource($booking));
}