Przeglądaj źródła

Update AdminModeratedProfile resource

Daniel Supernault 8 miesięcy temu
rodzic
commit
1a972e8ddf

+ 1 - 1
app/Http/Resources/Admin/AdminModeratedProfileResource.php

@@ -39,7 +39,7 @@ class AdminModeratedProfileResource extends JsonResource
             'is_noautolink' => (bool) $this->is_noautolink,
             'is_nodms' => (bool) $this->is_nodms,
             'is_notrending' => (bool) $this->is_notrending,
-            'created_at' => $this->created_at,
+            'created_at' => $this->created_at->format('c'),
         ];
     }
 }