Skip to content

Commit

Permalink
fix partner plugin response
Browse files Browse the repository at this point in the history
  • Loading branch information
evlekht committed Oct 2, 2024
1 parent f827517 commit 0f6c3df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/rpc/partner-plugin/handlers/mint_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
typesv1 "buf.build/gen/go/chain4travel/camino-messenger-protocol/protocolbuffers/go/cmp/types/v1"
"github.com/chain4travel/camino-messenger-bot/internal/metadata"
"google.golang.org/grpc"
"google.golang.org/protobuf/types/known/emptypb"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand All @@ -37,6 +38,11 @@ func (*MintServiceV1Server) Mint(ctx context.Context, _ *bookv1.MintRequest) (*b
Price: &typesv1.Price{
Value: "1",
Decimals: 9,
Currency: &typesv1.Currency{
Currency: &typesv1.Currency_NativeToken{
NativeToken: &emptypb.Empty{},
},
},
},
}

Expand Down

0 comments on commit 0f6c3df

Please sign in to comment.