mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-23 15:00:25 +08:00
优化代码
This commit is contained in:
@@ -61,7 +61,7 @@ func (this *HTTPAuthPolicyService) FindEnabledHTTPAuthPolicy(ctx context.Context
|
||||
|
||||
return &pb.FindEnabledHTTPAuthPolicyResponse{HttpAuthPolicy: &pb.HTTPAuthPolicy{
|
||||
Id: int64(policy.Id),
|
||||
IsOn: policy.IsOn == 1,
|
||||
IsOn: policy.IsOn,
|
||||
Name: policy.Name,
|
||||
Type: policy.Type,
|
||||
ParamsJSON: policy.Params,
|
||||
|
||||
Reference in New Issue
Block a user