Fix reference to response.json_ok -> response.meta.json_ok.

This commit is contained in:
voussoir 2021-01-08 13:38:30 -08:00
parent 461612f770
commit 7527b3678f

View file

@ -103,7 +103,7 @@ function remove_photos(album_id, photo_ids, callback)
api.albums.callback_follow =
function callback_follow(response)
{
if ((response.meta.status !== 200) || (! response.json_ok) || (! response.data.id))
if ((response.meta.status !== 200) || (! response.meta.json_ok) || (! response.data.id))
{
alert(JSON.stringify(response));
return;