Skip to content

Commit

Permalink
Change RippleAPI's user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Mar 4, 2018
1 parent 75927d5 commit f2397d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/RippleAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function request($path, $method, $token, $params = []) {

// create curl and set necessary headers and options
$c = new \Curl\Curl();
$c->setUserAgent("RippleAPIPHPClient/1.0 MisilrouAPI/1.0");
$c->setUserAgent("RippleAPIPHPClient/1.0 MisirlouAPI/1.0");
$c->setHeader("Authorization", "Bearer " . $token);
$c->setOpt(CURLOPT_ENCODING, "gzip");
$c->setOpt(CURLOPT_RETURNTRANSFER, true);
Expand Down

0 comments on commit f2397d9

Please sign in to comment.