Skip to content

Commit

Permalink
Adjust to API 190918
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbcat committed Sep 18, 2019
1 parent bbb58b2 commit 2491f15
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/ochartShop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1281,10 +1281,6 @@ int doAssign(itemChart *chart, int slot, wxString systemName)
if(iResponseCode == 200){
wxString result = ProcessResponse(post.GetResponseBody());

if(result.IsSameAs(_T("7"))){ // 7: System name already exist
return 0;
}

return checkResult(result);
}
else
Expand Down Expand Up @@ -1361,10 +1357,6 @@ int doUploadXFPR(bool bDongle)
if(iResponseCode == 200){
wxString result = ProcessResponse(post.GetResponseBody());

if(result.IsSameAs(_T("7"))){ // 7: System name already exist
return 0; // This is not an error
}

int iret = checkResult(result);

return iret;
Expand Down

0 comments on commit 2491f15

Please sign in to comment.