Compare commits

..

1 Commits

Author SHA1 Message Date
8d189ae541
fix(TM): List is now working again
It was referencing the new memsource API url (v2), but list still uses
v1.
2022-12-30 10:50:14 -03:00

View File

@ -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);
}