refactor: refactor status
This commit is contained in:
parent
96b8d20f7b
commit
7e0976baac
|
@ -102,7 +102,7 @@ func (h *LabelHandler) deleteLabel(c *fiber.Ctx) error {
|
|||
})
|
||||
}
|
||||
|
||||
return c.Status(fiber.StatusNoContent).JSON(&fiber.Map{
|
||||
return c.Status(fiber.StatusOK).JSON(&fiber.Map{
|
||||
"status": "success",
|
||||
"message": "Label has been deleted successfully",
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user