fix delete booking

This commit is contained in:
soukainna 2024-10-30 09:44:48 +01:00
parent 744af76df2
commit e25f39140a
1 changed files with 0 additions and 3 deletions

View File

@ -228,9 +228,6 @@ func (s MongoDBStorage) DeleteBooking(bookingid string) error {
_, err := collection.DeleteOne( _, err := collection.DeleteOne(
context.TODO(), context.TODO(),
bson.M{"_id": bookingid}, bson.M{"_id": bookingid},
// bson.D{
// {"$set", bson.D{{"deleted", true}}},
// },
) )
return err return err