write reservation status column in gsheets
This commit is contained in:
parent
065f4fffbf
commit
81cecbaaf6
@ -36,7 +36,7 @@ func (bc *BotController) SyncPaidUsersToSheet() error {
|
||||
event, _ := bc.GetEvent(reservation.EventID)
|
||||
status := ReservationStatusString[reservation.Status]
|
||||
|
||||
values = append(values, []interface{}{user.ID, ui.FirstName, ui.LastName, ui.Username, "TODO", formatDate(event.Date), "", status})
|
||||
values = append(values, []interface{}{user.ID, ui.FirstName, ui.LastName, ui.Username, reservation.EnteredName, formatDate(event.Date), "", status})
|
||||
}
|
||||
|
||||
// Prepare the data to be written to the sheet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user