Skip to content

Commit

Permalink
Merge pull request #17 from SynapseFI/SM-local
Browse files Browse the repository at this point in the history
transactions update
  • Loading branch information
sachet-synapsefi committed May 21, 2019
2 parents 9b50890 + 9d9db89 commit 68d9542
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/SynapsePayRest/api/Trans.php
Expand Up @@ -31,11 +31,7 @@ function create($node_id=null, $payload=null, $idempotent_key=null){
}

function get($node_id=null, $trans_id=null, $page=null, $per_page=null){
if($trans_id){
$path = $this->create_trans_path($node_id, $trans_id);
}else{
$path = $this->create_trans_path($node_id);
}
$path = $this->create_trans_path($node_id);
if($node_id){
if($page){
$path = $path . '?page=' . $query;
Expand Down

0 comments on commit 68d9542

Please sign in to comment.