fix delete booking
This commit is contained in:
parent
744af76df2
commit
e25f39140a
|
@ -228,9 +228,6 @@ func (s MongoDBStorage) DeleteBooking(bookingid string) error {
|
|||
_, err := collection.DeleteOne(
|
||||
context.TODO(),
|
||||
bson.M{"_id": bookingid},
|
||||
// bson.D{
|
||||
// {"$set", bson.D{{"deleted", true}}},
|
||||
// },
|
||||
)
|
||||
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue