diff --git a/internal/sbi/api_policyauthorization.go b/internal/sbi/api_policyauthorization.go index 46649f8..618a302 100644 --- a/internal/sbi/api_policyauthorization.go +++ b/internal/sbi/api_policyauthorization.go @@ -69,7 +69,7 @@ func (s *Server) getPolicyAuthorizationRoutes() []Route { // PcscfRestoration - Indicates P-CSCF restoration and does not create an Individual Application Session Context func (s *Server) HTTPPcscfRestoration(c *gin.Context) { - c.JSON(http.StatusNotImplemented, nil) + c.JSON(http.StatusNotImplemented, gin.H{}) } // api_application_session diff --git a/internal/sbi/api_uepolicy.go b/internal/sbi/api_uepolicy.go index e502d71..f4180e5 100644 --- a/internal/sbi/api_uepolicy.go +++ b/internal/sbi/api_uepolicy.go @@ -45,17 +45,17 @@ func (s *Server) getUePolicyRoutes() []Route { } func (s *Server) HTTPDeleteIndividualUEPolicyAssociation(c *gin.Context) { - c.JSON(http.StatusNotImplemented, nil) + c.JSON(http.StatusNotImplemented, gin.H{}) } func (s *Server) HTTPReadIndividualUEPolicyAssociation(c *gin.Context) { - c.JSON(http.StatusNotImplemented, nil) + c.JSON(http.StatusNotImplemented, gin.H{}) } func (s *Server) HTTPReportObservedEventTriggersForIndividualUEPolicyAssociation(c *gin.Context) { - c.JSON(http.StatusNotImplemented, nil) + c.JSON(http.StatusNotImplemented, gin.H{}) } func (s *Server) HTTPCreateIndividualUEPolicyAssociation(c *gin.Context) { - c.JSON(http.StatusNotImplemented, nil) + c.JSON(http.StatusNotImplemented, gin.H{}) } diff --git a/internal/sbi/processor/notifier.go b/internal/sbi/processor/notifier.go index eb3b7ec..d47d3dc 100644 --- a/internal/sbi/processor/notifier.go +++ b/internal/sbi/processor/notifier.go @@ -33,7 +33,7 @@ func (p *Processor) HandlePolicyDataChangeNotify( PolicyDataChangeNotifyProcedure(supi, policyDataChangeNotification) - c.JSON(http.StatusNotImplemented, nil) + c.JSON(http.StatusNotImplemented, gin.H{}) } // TODO: handle Policy Data Change Notify