✨ Messaging whats new preload channels
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user