Skip to content

Commit 1a489c5

Browse files
committed
updates
1 parent 742c1e2 commit 1a489c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ignite/templates/typed/map/files/messages/x/{{moduleName}}/keeper/msg_server_{{typeName}}.go.plush

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func (k msgServer) Create<%= TypeName.UpperCamel %>(ctx context.Context, msg *t
1313
// Check if the value already exists
1414
ok, err := k.<%= TypeName.UpperCamel %>.Has(
1515
ctx,
16-
<%= for (i, index) in Indexes { %>msg.<%= index.Name.UpperCamel %>,
16+
<%= for (i, index) in Indexes { %>msg.<%= index.Name.UpperCamel %>, // TODO need to limit max nb of indexes
1717
<% } %>)
1818
if err != nil {
1919
return nil, errorsmod.Wrap(sdkerrors.ErrLogic, err.Error())

0 commit comments

Comments
 (0)