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

Commit

Permalink
transactions use ID not slug
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Sturrock committed Jan 26, 2016
1 parent b1caae8 commit ac35335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Facade/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public static function init(\Moltin\SDK\SDK $sdk)
self::$sdk = $sdk;
}

public static function Get($slug)
public static function Get($id)
{
return self::$sdk->get('transactions/'.$slug);
return self::$sdk->get('transactions/'.$id);
}

public static function Listing($terms = array())
Expand Down

0 comments on commit ac35335

Please sign in to comment.