mirror of
https://github.com/brunofontes/Memsource-API.git
synced 2024-11-23 19:00:50 +00:00
fix(TM): List is now working again
It was referencing the new memsource API url (v2), but list still uses v1.
This commit is contained in:
parent
a22f23cc10
commit
8d189ae541
@ -27,7 +27,7 @@ class TM extends \BrunoFontes\Memsource\BaseApi
|
||||
*/
|
||||
public function list(array $queryParams = []): string
|
||||
{
|
||||
$response = $this->fetchApi->fetch('get', $this->_url, $queryParams);
|
||||
$response = $this->fetchApi->fetch('get', '/api2/v1/transMemories/', $queryParams);
|
||||
if ($this->hasError($response)) {
|
||||
throw new \Exception("Error listing TMs: " . $this->getError($response), 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user