Remove comment
This commit is contained in:
parent
e62f536c03
commit
7626d91ece
@ -63,7 +63,6 @@ pub async fn get_by_id(
|
|||||||
|
|
||||||
/// Delete a calendar
|
/// Delete a calendar
|
||||||
pub async fn delete(r: AccommodationReservationCalendar) -> anyhow::Result<()> {
|
pub async fn delete(r: AccommodationReservationCalendar) -> anyhow::Result<()> {
|
||||||
// Remove the reservation
|
|
||||||
db_connection::execute(|conn| {
|
db_connection::execute(|conn| {
|
||||||
diesel::delete(
|
diesel::delete(
|
||||||
accommodations_reservations_cals_urls::dsl::accommodations_reservations_cals_urls
|
accommodations_reservations_cals_urls::dsl::accommodations_reservations_cals_urls
|
||||||
|
Loading…
Reference in New Issue
Block a user