Fix(booking-controller): Fixed fetching of bookings
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
This commit is contained in:
@@ -472,13 +472,16 @@ const docTemplate = `{
|
||||
],
|
||||
"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"
|
||||
@@ -490,16 +493,19 @@ const docTemplate = `{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -571,12 +577,14 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"password": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "password"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"maxLength": 100,
|
||||
"minLength": 2
|
||||
"minLength": 2,
|
||||
"example": "user"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -590,12 +598,14 @@ const docTemplate = `{
|
||||
"password": {
|
||||
"type": "string",
|
||||
"maxLength": 100,
|
||||
"minLength": 6
|
||||
"minLength": 6,
|
||||
"example": "password"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"maxLength": 100,
|
||||
"minLength": 2
|
||||
"minLength": 2,
|
||||
"example": "user"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user