notification+wallet fixes

This commit is contained in:
Yared Yemane 2025-05-25 14:15:34 +03:00
parent eafd68d3c2
commit 360bdd471f
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ func (h *Handler) GetNotifications(c *fiber.Ctx) error {
} }
func (h *Handler) getAllRecipientIDs(ctx context.Context, receiver domain.NotificationRecieverSide) ([]int64, error) { func (h *Handler) GetAllRecipientIDs(ctx context.Context, receiver domain.NotificationRecieverSide) ([]int64, error) {
return h.notificationSvc.ListRecipientIDs(ctx, receiver) return h.notificationSvc.ListRecipientIDs(ctx, receiver)
} }

View File

@ -50,7 +50,7 @@ type CustomerWalletRes struct {
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`
} }
func convertCustomerWallet(wallet domain.GetCustomerWallet) CustomerWalletRes { func ConvertCustomerWallet(wallet domain.GetCustomerWallet) CustomerWalletRes {
return CustomerWalletRes{ return CustomerWalletRes{
ID: wallet.ID, ID: wallet.ID,
RegularID: wallet.RegularID, RegularID: wallet.RegularID,