Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Nov 6, 2023
1 parent 742c1e2 commit 1a489c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func (k msgServer) Create<%= TypeName.UpperCamel %>(ctx context.Context, msg *t
// Check if the value already exists
ok, err := k.<%= TypeName.UpperCamel %>.Has(
ctx,
<%= for (i, index) in Indexes { %>msg.<%= index.Name.UpperCamel %>,
<%= for (i, index) in Indexes { %>msg.<%= index.Name.UpperCamel %>, // TODO need to limit max nb of indexes
<% } %>)
if err != nil {
return nil, errorsmod.Wrap(sdkerrors.ErrLogic, err.Error())
Expand Down

0 comments on commit 1a489c5

Please sign in to comment.