Skip to content

Commit

Permalink
feat: fix api code
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpiotzh committed Jan 26, 2024
1 parent 0d7a8ee commit 47b821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_server/handle/auto_account_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (h *HttpHandle) checkParentAccount(apiResp *api_code.ApiResp, parentAccount
apiResp.ApiRespErr(api_code.ApiCodeAccountStatusOnSaleOrAuction, "parent account status is not normal")
return nil, nil
} else if parentAccount.IsExpired() {
apiResp.ApiRespErr(api_code.ApiCodeAccountIsExpired, "parent account is expired")
apiResp.ApiRespErr(api_code.ApiCodeParentAccountExpired, "parent account is expired")
return nil, nil
}
expiredAt := uint64(time.Now().Add(time.Hour * 24 * 7).Unix())
Expand Down

0 comments on commit 47b821e

Please sign in to comment.