diff --git a/app/Http/Controllers/Api/ApiV1Dot1Controller.php b/app/Http/Controllers/Api/ApiV1Dot1Controller.php index 8c3fd57f..7165629c 100644 --- a/app/Http/Controllers/Api/ApiV1Dot1Controller.php +++ b/app/Http/Controllers/Api/ApiV1Dot1Controller.php @@ -997,7 +997,7 @@ class ApiV1Dot1Controller extends Controller 'X-Rate-Limit-Reset' => RateLimiter::availableIn($userKey), ]; } - if(str_ends_with($username, config_cache('pixelfed.domain.app'))) { + if (str_ends_with($username, config_cache('pixelfed.domain.app'))) { $pre = str_starts_with($username, '@') ? substr($username, 1) : $username; $parts = explode('@', $pre); $username = $parts[0];