Skip to content

Commit

Permalink
delete log
Browse files Browse the repository at this point in the history
  • Loading branch information
fuji8 committed Aug 8, 2021
1 parent 9cd5986 commit 652f717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/db/room.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func updateRoom(db *gorm.DB, roomID uuid.UUID, params UpdateRoomParams) (*Room,
}

func updateRoomVerified(db *gorm.DB, roomID uuid.UUID, verified bool) error {
return db.Debug().Model(&Room{}).Where("id = ?", roomID).UpdateColumn("verified", verified).Error
return db.Model(&Room{}).Where("id = ?", roomID).UpdateColumn("verified", verified).Error
}

func deleteRoom(db *gorm.DB, roomID uuid.UUID) error {
Expand Down

0 comments on commit 652f717

Please sign in to comment.