RestApi/ticket: shut down after sending ticket

fixes #1079
This commit is contained in:
Thomas Gelf 2017-08-21 11:27:09 +02:00
parent 5b6897cc9e
commit 24173de3ca

View File

@ -112,7 +112,9 @@ class IcingaObjectHandler extends RequestHandler
) )
); );
return; // TODO: find a better way to shut down. Currently, this avoids
// "not found" errors:
exit;
} }
switch ($request->getMethod()) { switch ($request->getMethod()) {