Fix(booking-controller): Fixed fetching of bookings
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good

This commit is contained in:
2022-09-27 20:29:46 +08:00
parent 51b539fe7a
commit 0ea75f6211
6 changed files with 61 additions and 31 deletions

View File

@@ -464,13 +464,16 @@
],
"properties": {
"backToSg": {
"type": "boolean"
"type": "boolean",
"example": false
},
"contact": {
"type": "string"
"type": "string",
"example": "+6512345678"
},
"gender": {
"type": "string"
"type": "string",
"example": "M"
},
"id": {
"type": "string"
@@ -482,16 +485,19 @@
"type": "string"
},
"passportExpiry": {
"type": "string"
"type": "string",
"format": "date-time"
},
"status": {
"type": "string"
},
"timeCode": {
"type": "string"
"type": "string",
"example": "1300"
},
"travelDate": {
"type": "string"
"type": "string",
"format": "date-time"
}
}
},
@@ -563,12 +569,14 @@
],
"properties": {
"password": {
"type": "string"
"type": "string",
"example": "password"
},
"username": {
"type": "string",
"maxLength": 100,
"minLength": 2
"minLength": 2,
"example": "user"
}
}
},
@@ -582,12 +590,14 @@
"password": {
"type": "string",
"maxLength": 100,
"minLength": 6
"minLength": 6,
"example": "password"
},
"username": {
"type": "string",
"maxLength": 100,
"minLength": 2
"minLength": 2,
"example": "user"
}
}
},