瀏覽代碼

fix: ordery by

Felipe Mateus 2 月之前
父節點
當前提交
11a5fa9314
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/PublicApiController.php

+ 1 - 1
app/Http/Controllers/PublicApiController.php

@@ -720,7 +720,7 @@ class PublicApiController extends Controller
             })
             ->whereIn('type', $scope)
             ->whereIn('scope', $visibility)
-            ->orderByDesc('id')
+            ->orderByDesc('created_at')
             ->cursorPaginate($remainingLimit)
             ->withQueryString();