fix delete booking
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user