Skip to content

Commit

Permalink
Merge pull request #221 from DecentralCardGame/212-lastcardmodified-o…
Browse files Browse the repository at this point in the history
…n-save-card-content

feat(#212): Added setLastrCardModified to saveCardContent
  • Loading branch information
lxgr-linux authored May 3, 2024
2 parents ec4d05b + 0b5b50c commit 916f5e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/cardchain/keeper/msg_server_save_card_content.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func (k msgServer) SaveCardContent(goCtx context.Context, msg *types.MsgSaveCard
card.Status = types.Status_permanent
}
k.Cards.Set(ctx, msg.CardId, card)
k.SetLastCardModifiedNow(ctx)

return &types.MsgSaveCardContentResponse{AirdropClaimed: claimedAirdrop}, nil
}

0 comments on commit 916f5e4

Please sign in to comment.