From 8badfa24b55176e0cf4cf09b5fb45eb7cc91d350 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 4 Feb 2014 19:09:26 +0100 Subject: [PATCH] use err instead of message --- ajax/otpoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/otpoll.php b/ajax/otpoll.php index 64706929..847d4ae2 100644 --- a/ajax/otpoll.php +++ b/ajax/otpoll.php @@ -110,7 +110,7 @@ try{ } catch (BadRequestException $e){ header('HTTP/1.1 400: BAD REQUEST'); \OCP\JSON::error( array( - 'message' => $e->getBody(), + 'err' => $e->getBody(), )); } exit();