Add driver exclusion by group id
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m56s
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m56s
This commit is contained in:
@@ -231,7 +231,7 @@ func (s MongoDBStorage) UpdateBookingStatus(bookingid string, newStatus string,
|
||||
}
|
||||
|
||||
func (s MongoDBStorage) GetBookingsByGroupId(groupId string) ([]*types.Booking, error) {
|
||||
filter := bson.M{"groupid": groupId}
|
||||
filter := bson.M{"group_id": groupId}
|
||||
|
||||
cursor, err := s.Collections.Bookings.Find(context.Background(), filter)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user