mirror of
git://f0xx.org/ac/ac-ms-tickets
synced 2026-07-29 05:58:46 +03:00
10 lines
243 B
PHP
10 lines
243 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
require_once __DIR__ . '/../../src/bootstrap.php';
|
|
|
|
if (!Auth::user()) {
|
|
json_out(['ok' => false, 'error' => 'unauthorized'], 401);
|
|
}
|
|
|
|
json_out(['ok' => true, 'users' => UserRepository::listForAssignees()]);
|