소스 검색

Update AdminModeratedProfile resource

Daniel Supernault 8 달 전
부모
커밋
1a972e8ddf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Resources/Admin/AdminModeratedProfileResource.php

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

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