woops
This commit is contained in:
parent
faed02e0c8
commit
20c16b7908
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public function getWah(): string {
|
|||
try {
|
||||
$response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
|
||||
$data = $response->json();
|
||||
return "https://tinyfox.dev".$data["loc"];
|
||||
return "https://api.tinyfox.dev".$data["loc"];
|
||||
} catch (Exception $ex) {
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue