Skip to content

Commit

Permalink
Merge pull request #130 from decert-me/chore/airdrop-status
Browse files Browse the repository at this point in the history
En 优化用户重新空投状态
  • Loading branch information
0xdwong authored Mar 6, 2024
2 parents 7219775 + 35a0259 commit 3bfacc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/service/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (s *Service) AirdropCallback(c *gin.Context, req request.AirdropCallbackReq
return errors.New("校验失败")
}

if req.Status == 2 {
if req.Status == 2 && req.Msg != "already claimed" {
s.dao.AirdropFailNotice(req.Receiver, req.TokenId, req.Msg)
return
}
Expand Down

0 comments on commit 3bfacc9

Please sign in to comment.