✨ Messaging whats new preload channels
This commit is contained in:
parent
75f5eb1456
commit
8ae33344eb
@ -52,6 +52,7 @@ func getWhatsNew(c *fiber.Ctx) error {
|
||||
Order("created_at DESC").
|
||||
Preload("Sender").
|
||||
Preload("Sender.Account").
|
||||
Preload("Channel").
|
||||
Find(&items).Error; err != nil {
|
||||
return fiber.NewError(fiber.StatusBadRequest, err.Error())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user