err
This commit is contained in:
parent
f2ff8d9247
commit
768dd1e304
@ -28,7 +28,7 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.PagodaChalleng
|
||||
}
|
||||
|
||||
conf, err := this.module.configure.GetPagodaConfigData(req.Cid)
|
||||
if conf != nil {
|
||||
if err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_PagodaNotFound,
|
||||
Title: pb.ErrorCode_PagodaNotFound.ToString(),
|
||||
|
@ -37,7 +37,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal
|
||||
}
|
||||
|
||||
conf, err := this.module.configure.GetPagodaConfigData(req.Cid)
|
||||
if conf != nil {
|
||||
if err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_PagodaNotFound,
|
||||
Title: pb.ErrorCode_PagodaNotFound.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user