The function is imported and called consistently with all the others.

This commit is contained in:
pappapisshu 2023-01-30 21:09:41 +01:00
parent 65f2fc5184
commit 35d97fb767
1 changed files with 1 additions and 2 deletions

View File

@ -582,8 +582,7 @@ def show_updates():
@app.route('/system/ssh-public-key')
@authorized_personnel_only
def get_ssh_public_key():
from utils import load_ssh_public_key
return load_ssh_public_key()
return utils.load_ssh_public_key()
@app.route('/system/update-packages', methods=["POST"])
@authorized_personnel_only