service backend
This commit is contained in:
11
api/pkg/messaging/notifications/notification/sent.go
Normal file
11
api/pkg/messaging/notifications/notification/sent.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package notifications
|
||||
|
||||
import (
|
||||
messaging "github.com/tech/sendico/pkg/messaging/envelope"
|
||||
nn "github.com/tech/sendico/pkg/messaging/internal/notifications/notification"
|
||||
"github.com/tech/sendico/pkg/model"
|
||||
)
|
||||
|
||||
func NotificationSent(sender string, result *model.NotificationResult) messaging.Envelope {
|
||||
return nn.NewNResultNotification(sender, result)
|
||||
}
|
||||
Reference in New Issue
Block a user