summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-02 17:47:07 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-02 17:47:07 +0200
commitf8bdf57881147cd2807d45ab4a9f64b1d86e9026 (patch)
tree8373443334111fb2cd4686256c57207a72bf173a /external
parent9f7a822bb4a6c4559dba931b22de17beb2f566af (diff)
add test for api result
Diffstat (limited to 'external')
-rw-r--r--external/newsapiresult.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/newsapiresult.php b/external/newsapiresult.php
index 911662203..7147d32bd 100644
--- a/external/newsapiresult.php
+++ b/external/newsapiresult.php
@@ -29,7 +29,7 @@ use \OCA\AppFramework\External\APIResult;
class NewsAPIResult extends APIResult {
- const EXISTS_ERROR = 995;
+ const EXISTS_ERROR = 409;
public function __construct($data, $statusCode=NewsAPIResult::OK) {
parent::__construct($data, $statusCode);