mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-05 07:27:12 +01:00
cookie's now only used under /admin
This commit is contained in:
@@ -8,6 +8,7 @@ import { patchBooking } from '../../../../helpers/booking'
|
||||
import { log } from '../../../../helpers/log'
|
||||
import { BOOKING_STATUS } from '../../../../db/enums'
|
||||
import BookingTable from '../../../../components/bookingTable'
|
||||
import withAuth from '../../../../helpers/withAuth'
|
||||
|
||||
export const getServerSideProps = getServerSideBooking
|
||||
|
||||
@@ -73,4 +74,4 @@ function ShowBookingAdmin({ booking: bookingProp }: { booking: IBooking }) {
|
||||
|
||||
ShowBookingAdmin.authenticationRequired = true
|
||||
|
||||
export default ShowBookingAdmin
|
||||
export default withAuth(ShowBookingAdmin)
|
||||
|
||||
Reference in New Issue
Block a user