mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
b076052f4b
commit
8affdbe955
9 files changed
+257
-12
No files matched your search
@@ -29,7 +29,8 @@ class Api
|
||||
|
||||
private static function doRequest($command)
|
||||
{
|
||||
$response = Http::withOptions([
|
||||
$response = Http::timeout(60)
|
||||
->withOptions([
|
||||
'debug' => true,
|
||||
'verify' => false,
|
||||
])->withBasicAuth(self::$username, self::$password)
|
||||
@@ -52,6 +53,6 @@ class Api
|
||||
|
||||
public static function getProjects()
|
||||
{
|
||||
return self::doRequest('TM_GET_CLIENTS')['projects'];
|
||||
return self::doRequest('TM_GET_PROJECTS')['projects'];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user