mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 23:17:12 +01:00
update mongoose to 5.8.3 (lots of types changes)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Booking } from '../db/booking'
|
||||
import { IBooking } from '../db/booking'
|
||||
import { log } from '../helpers/log'
|
||||
|
||||
const BOOKING_DATA_KEY = 'pfadiBussleBookingData'
|
||||
@@ -7,7 +7,7 @@ function getStorage() {
|
||||
return localStorage
|
||||
}
|
||||
|
||||
export function storeBookingData(booking: Booking) {
|
||||
export function storeBookingData(booking: IBooking) {
|
||||
const { name, email, street, zip, city, org } = booking
|
||||
|
||||
getStorage().setItem(
|
||||
@@ -30,4 +30,4 @@ export function loadBookingData() {
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user