Forgot to encode the json. oops

This commit is contained in:
Ro 2023-08-29 14:14:30 -07:00
parent fd7a6fd064
commit 44cd545b37
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50

View file

@ -99,8 +99,8 @@ class LocationController extends Controller
'rating' => $item[1], 'rating' => $item[1],
'added_by' => 1, 'added_by' => 1,
'tags' => 'poor moderation, hate speech', 'tags' => 'poor moderation, hate speech',
'images' => json_encode($images),
'block_count' => $blockcount, 'block_count' => $blockcount,
'images' => $images,
]); ]);
} }
} }