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 {
|
try {
|
||||||
$response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
|
$response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
|
||||||
$data = $response->json();
|
$data = $response->json();
|
||||||
return "https://tinyfox.dev".$data["loc"];
|
return "https://api.tinyfox.dev".$data["loc"];
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue