Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Commit

Permalink
Update client methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjosh committed Feb 3, 2017
1 parent 0a0d23c commit 54d418b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function generalStat()
* @param $text
* @return mixed
*/
public function getExpense($amount, $text)
public function setExpense($amount, $text)
{
$response = $this->guzzle->post('/submit/expense',[
'token' => $this->token,
Expand All @@ -86,7 +86,7 @@ public function getExpense($amount, $text)
* @param $text
* @return mixed
*/
public function getIncome($amount, $text)
public function setIncome($amount, $text)
{
$response = $this->guzzle->post($this->baseUrl . '/submit/income',[
'token' => $this->token,
Expand Down

0 comments on commit 54d418b

Please sign in to comment.