Skip to content

Commit

Permalink
Update Tdarr.php
Browse files Browse the repository at this point in the history
Fix compatibility with Tdarr v2.25.01.
  • Loading branch information
BorgSquared committed Sep 17, 2024
1 parent aa3cef0 commit 22b64e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tdarr/Tdarr.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function __construct()

public function test()
{
$url = $this->url("api/v2/status/");
$url = $this->url("api/v2/status");
$test = parent::appTest($url);

echo $test->status;
Expand All @@ -30,7 +30,7 @@ public function livestats()
],
];

$url = $this->url("api/v2/cruddb/");
$url = $this->url("api/v2/cruddb");
// Setup cURL
$ch = curl_init($url);
curl_setopt_array($ch, [
Expand Down

0 comments on commit 22b64e7

Please sign in to comment.