Skip to content

Commit

Permalink
throw invalid app id Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hsu1943 committed Jul 7, 2021
1 parent 2578d02 commit 68161c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aop/AopClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,9 @@ function parserJSONSource($responseContent, $nodeName, $nodeIndex) {
}

function parserJSONSign($responseJSon) {

if (!isset($responseJSon->sign)) {
throw new Exception('invalid app id');
}
return $responseJSon->sign;
}

Expand Down

0 comments on commit 68161c4

Please sign in to comment.