diff options
author | jld3103 <jld3103yt@gmail.com> | 2022-05-29 16:40:19 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2022-07-21 13:07:34 +0200 |
commit | 3e7a36b30901279c5214ea9468a78c04fd283b38 (patch) | |
tree | 17697cf228abbc45fbd1c9933dfefe3dc720e1c1 /apps/user_status/lib/Controller/HeartbeatController.php | |
parent | afedfad4990af207be426e46750c9b3b07651e48 (diff) | |
download | nextcloud-server-3e7a36b30901279c5214ea9468a78c04fd283b38.tar.gz nextcloud-server-3e7a36b30901279c5214ea9468a78c04fd283b38.zip |
Make user status heartbeat API publicly accessible
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/user_status/lib/Controller/HeartbeatController.php')
-rw-r--r-- | apps/user_status/lib/Controller/HeartbeatController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_status/lib/Controller/HeartbeatController.php b/apps/user_status/lib/Controller/HeartbeatController.php index c11a63b4420..82978f0983a 100644 --- a/apps/user_status/lib/Controller/HeartbeatController.php +++ b/apps/user_status/lib/Controller/HeartbeatController.php @@ -31,6 +31,7 @@ use OCP\AppFramework\Controller; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Http; use OCP\AppFramework\Http\JSONResponse; +use OCP\AppFramework\OCSController; use OCP\AppFramework\Utility\ITimeFactory; use OCP\EventDispatcher\IEventDispatcher; use OCP\IRequest; @@ -38,7 +39,7 @@ use OCP\IUserSession; use OCP\User\Events\UserLiveStatusEvent; use OCP\UserStatus\IUserStatus; -class HeartbeatController extends Controller { +class HeartbeatController extends OCSController { /** @var IEventDispatcher */ private $eventDispatcher; |