🐛 Fix list related publisher api ignore filter
This commit is contained in:
parent
050d3e3f89
commit
25eb0585d5
@ -66,7 +66,7 @@ func listRelatedPublisher(c *fiber.Ctx) error {
|
||||
}
|
||||
|
||||
var publishers []models.Publisher
|
||||
if err := database.C.Find(&publishers).Error; err != nil {
|
||||
if err := tx.Find(&publishers).Error; err != nil {
|
||||
return fiber.NewError(fiber.StatusNotFound, err.Error())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user