Skip to content

Commit

Permalink
Fix API interfacing bug
Browse files Browse the repository at this point in the history
Turns out "1" is not a valid response to indicate a successful upload, 0
= success and -1 = failure
  • Loading branch information
Blake committed Nov 23, 2013
1 parent 537c477 commit c41bc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/api/up.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

$aOutput = array
(
"1",
"0",
$pUpload->web_url,
$pUpload->id,
$pUpload->file_size,
Expand Down

0 comments on commit c41bc6c

Please sign in to comment.