fixed doc env vars + mongo v2 migration
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
nm "github.com/tech/sendico/pkg/model/notification"
|
||||
"github.com/tech/sendico/pkg/mservice"
|
||||
"github.com/tech/sendico/pkg/mutil/mzap"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -28,7 +28,7 @@ type InvitationNotificaionProcessor struct {
|
||||
func (ianp *InvitationNotificaionProcessor) onInvitation(
|
||||
ctx context.Context,
|
||||
objectType mservice.Type,
|
||||
objectRef, actorAccountRef primitive.ObjectID,
|
||||
objectRef, actorAccountRef bson.ObjectID,
|
||||
action nm.NotificationAction,
|
||||
) error {
|
||||
var invitation model.Invitation
|
||||
|
||||
Reference in New Issue
Block a user