fix postgresql issues
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
|
||||
"git.coopgo.io/coopgo-platform/carpool-incentives/storage"
|
||||
"github.com/google/uuid"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
@@ -62,6 +63,7 @@ func (h *IncentivesHandler) GetAvailableIncentives(userid string) ([]storage.Inc
|
||||
|
||||
incentiveSubscriptions, err := h.Storage.GetUserSubscriptions(userid)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("error retrieving subscriptions")
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user