Add system authorization check function.

This commit is contained in:
tadscottsmith
2023-11-15 20:23:27 -06:00
parent 97d4a04d66
commit 05d9c6f83e
2 changed files with 35 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ app.post('/:shortName/upload', upload.single('call'), uploads.upload, async func
/*------ SYSTEMS ----------*/
app.get('/systems', addSystemClients, systems.get_systems);
app.post('/:shortName/contact', systems.contact_system);
app.post('/:shortName/authorize', systems.authorize_system);
/*------ TALKGROUPS ----------*/
app.get('/:shortName/talkgroups', talkgroups.get_talkgroups);