Skip to content

Commit

Permalink
feat: delete sensitive floor in es after modify
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed Nov 14, 2023
1 parent 17d0d18 commit ab62fb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/floor/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ func ModifyFloor(c *fiber.Ctx) error {
UpdatedAt: time.Now(),
Content: floor.Content,
})
} else {
go FloorDelete(floorID)
}
}

Expand Down

0 comments on commit ab62fb6

Please sign in to comment.