fixed mntx discovery
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/tech/sendico/payments/quotation/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_QUOTATION",
|
||||
Service: mservice.PaymentQuotation,
|
||||
Operations: []string{discovery.OperationPaymentQuote, discovery.OperationPaymentMultiQuote},
|
||||
InvokeURI: invokeURI,
|
||||
Version: appversion.Create().Short(),
|
||||
|
||||
Reference in New Issue
Block a user