Skip to content

Commit

Permalink
update for response
Browse files Browse the repository at this point in the history
  • Loading branch information
dawlib committed May 28, 2021
1 parent 39945a5 commit 3703574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Castle/Castle.php
Expand Up @@ -175,7 +175,7 @@ public static function filter(Array $attributes)
if ($request->rStatus == 204) {
$response = array();
}
return $response;
return new RestModel($response);
}

/**
Expand All @@ -201,6 +201,6 @@ public static function risk(Array $attributes)
if ($request->rStatus == 204) {
$response = array();
}
return $response;
return new RestModel($response);
}
}

0 comments on commit 3703574

Please sign in to comment.