api surat views

This commit is contained in:
merdan 2021-05-12 15:00:04 +05:00
parent 4de3967acf
commit 802aaea75d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class postsController extends Controller
if ($obj->count() > 0) {
$obj = $obj->first();
$post['veiws'] = $obj->views;
$post['views'] = $obj->views;
}
}
if ($post){