fixed mntx discovery
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/tech/sendico/payments/methods/internal/appversion"
|
||||
"github.com/tech/sendico/pkg/discovery"
|
||||
msg "github.com/tech/sendico/pkg/messaging"
|
||||
"github.com/tech/sendico/pkg/mservice"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -51,7 +52,7 @@ func (i *Imp) startDiscoveryAnnouncer(cfg *config, producer msg.Producer) {
|
||||
}
|
||||
|
||||
announce := discovery.Announcement{
|
||||
Service: "PAYMENTS_METHODS",
|
||||
Service: mservice.PaymentMethods,
|
||||
Operations: []string{
|
||||
discovery.OperationPaymentMethodsManage,
|
||||
discovery.OperationPaymentMethodsRead,
|
||||
|
||||
Reference in New Issue
Block a user