소스 검색

Update ApiV1Dot1Controller, lint

Daniel Supernault 1 년 전
부모
커밋
5b85efb570
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Api/ApiV1Dot1Controller.php

+ 1 - 1
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];