mirror of
https://github.com/the-programmers-hangout/Mimic.git
synced 2026-09-04 09:16:00 +02:00
laravel pint format
This commit is contained in:
@@ -15,6 +15,7 @@ class Pastecord
|
||||
'timeout' => 5.0,
|
||||
]);
|
||||
}
|
||||
|
||||
public function upload(string $content): string
|
||||
{
|
||||
try {
|
||||
@@ -28,7 +29,7 @@ class Pastecord
|
||||
|
||||
$data = json_decode($response->getBody(), true);
|
||||
|
||||
return self::API_BASE_URL . '/' . $data['key'];
|
||||
return self::API_BASE_URL.'/'.$data['key'];
|
||||
} catch (\Exception $e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user