Remove service check decorator from action_service route

The `check_services` decorator was removed from the `action_service` route in the file 'app/routes/service/routes.py'. This change simplifies the code and avoids unnecessary service checks when performing actions on a service.
pull/375/head
Aidaho 2024-02-18 11:40:17 +03:00
parent af25700ede
commit 2b1f3b647a
1 changed files with 0 additions and 1 deletions

View File

@ -189,7 +189,6 @@ def check_service(service):
@bp.route('/action/<service>/<server_ip>/<action>', methods=['GET'])
@check_services
def action_service(service, server_ip, action):
server_ip = common.is_ip_or_dns(server_ip)