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