Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/hai/ip-restriction' into bard/ad…
Browse files Browse the repository at this point in the history
…d_token_info_into_tx_20240424
  • Loading branch information
weiqiang.fan committed May 7, 2024
2 parents 03f7814 + 03ae21f commit 53b76d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/iprestriction/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (c *Client) CheckIPRestricted(ip string) bool {
log.Errorf("[CheckIPRestricted] failed to unmarshal response, err[%v] body[%v]", err, respBody)
return false
}
log.Debugf("[CheckIPRestricted] URL[%v] IP[%v] Result[%+v]", fullPath, ip, respStruct.Data.XLayerBridge)
log.Debugf("[CheckIPRestricted] URL[%v] IP[%v] Result[%+v]", fullPath, ip, respStruct)
if respStruct.Data.XLayerBridge != nil && (respStruct.Data.XLayerBridge.Hidden || respStruct.Data.XLayerBridge.Limit) {
return true
}
Expand Down

0 comments on commit 53b76d3

Please sign in to comment.