update cicd
This commit is contained in:
@@ -25,7 +25,9 @@ func NewNotificationPublisher(client pahomqtt.Client, appLogger logger.Logger) s
|
||||
|
||||
type serviceNotificationNoop struct{}
|
||||
|
||||
func (serviceNotificationNoop) PublishNotificationCreated(context.Context, *model.Notification) error { return nil }
|
||||
func (serviceNotificationNoop) PublishNotificationCreated(context.Context, *model.Notification) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *notificationPublisher) PublishNotificationCreated(_ context.Context, notification *model.Notification) error {
|
||||
if p == nil || notification == nil {
|
||||
@@ -41,4 +43,3 @@ func (p *notificationPublisher) PublishNotificationCreated(_ context.Context, no
|
||||
func (p *notificationPublisher) notificationTopic(userID string) string {
|
||||
return fmt.Sprintf("%s/notifications/%s", p.prefix, userID)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user