mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
fix typing error
This commit is contained in:
committed by
Thomas Ruoff
parent
02c2b45747
commit
928d6b3d4e
@@ -64,7 +64,7 @@ export async function createBooking({
|
|||||||
'days',
|
'days',
|
||||||
new mongoose.Error.ValidatorError({
|
new mongoose.Error.ValidatorError({
|
||||||
message: `${doubleBookedDays
|
message: `${doubleBookedDays
|
||||||
.map(dateFormatFrontend)
|
.map((dateString) => dateFormatFrontend(new Date(dateString)))
|
||||||
.join(', ')} schon gebucht`,
|
.join(', ')} schon gebucht`,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user