<?php
declare(strict_types=1);

require_once dirname(__DIR__) . '/_bootstrap.php';

golder_require_method('GET');
$ctx = golder_api_auth('desktop_sync');

$rows = golder_list_customer_web_sessions($ctx['master'], (int)$ctx['customer_id']);

golder_json_response(['status' => 'ok', 'sessions' => $rows]);


