Fix General Info Model

This commit is contained in:
DomySh
2022-06-12 19:03:56 +02:00
parent d08a82e311
commit a568fbe5eb
3 changed files with 4 additions and 5 deletions

View File

@@ -500,7 +500,7 @@ def post_services_add():
db.query('''
INSERT INTO services (service_id, internal_port, public_port, status) VALUES (?, ?, ?, ?)
''', (req['name'], req['port'], random.randint(30000, 45000), 'stopped'))
''', (req['name'], req['port'], random.randint(30000, 45000), 'stop'))
res = {
'status': 'ok'