solidarity transport update
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 2m4s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 2m4s
This commit is contained in:
@@ -126,8 +126,8 @@ func (s MongoDBStorage) GetRegularAvailabilities(day int, timeInDay string) ([]*
|
||||
cur, err := s.Collections.DriversRegularAvailabilities.Find(context.Background(),
|
||||
bson.M{
|
||||
"day": day,
|
||||
"start_time": bson.M{"$lt": timeInDay},
|
||||
"end_time": bson.M{"$gt": timeInDay},
|
||||
"start_time": bson.M{"$lte": timeInDay},
|
||||
"end_time": bson.M{"$gte": timeInDay},
|
||||
})
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("GetDriverAvailabilities DB find - error")
|
||||
|
||||
Reference in New Issue
Block a user