Feat(booking): Added backtosg field
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:
@@ -18,6 +18,7 @@ func (env *Env) createBooking(
|
||||
passport string,
|
||||
passportExpiry time.Time,
|
||||
contact string,
|
||||
backToSg bool,
|
||||
) (*Booking, error) {
|
||||
var newBooking Booking
|
||||
|
||||
@@ -28,6 +29,8 @@ func (env *Env) createBooking(
|
||||
newBooking.Gender = gender
|
||||
newBooking.Passport = passport
|
||||
newBooking.PassportExpiry = passportExpiry
|
||||
newBooking.Contact = contact
|
||||
newBooking.BackToSg = backToSg
|
||||
|
||||
newBooking.Status = "pending"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user