From c41bc6cba31e68dae1b201fb74f7d3b4d5dc8506 Mon Sep 17 00:00:00 2001 From: Blake Date: Sat, 23 Nov 2013 22:49:30 +1300 Subject: [PATCH] Fix API interfacing bug Turns out "1" is not a valid response to indicate a successful upload, 0 = success and -1 = failure --- controllers/api/up.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/api/up.php b/controllers/api/up.php index df57d46..0d542e7 100644 --- a/controllers/api/up.php +++ b/controllers/api/up.php @@ -105,7 +105,7 @@ $aOutput = array ( - "1", + "0", $pUpload->web_url, $pUpload->id, $pUpload->file_size,