Skip to content

Commit 29a99aa

Browse files
author
Daniel Neto
committed
Update
1 parent 406ca5a commit 29a99aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

API/submit_video.php

+2
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@
2121

2222
$object->addVideo = addVideo($object->videoURL, $object->login->streamers_id, $object->videoTitle);
2323

24+
$object->error = !empty($object->addVideo->error);
25+
2426
die(json_encode($object));

0 commit comments

Comments
 (0)