mirror of
https://github.com/itsdave-de/msp.git
synced 2025-05-06 15:35:12 +02:00
fix
This commit is contained in:
parent
4c51356c3f
commit
330d7fc592
@ -3,7 +3,7 @@ from datetime import datetime
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_ssh_keys_for_landscape(landscape):
|
||||
keys = frappe.get_all("SSH Public Key", filters={"it_landscape": landscape, "active": 1})
|
||||
keys = frappe.get_all("SSH Public Key", filters={"it_landscape": landscape, "status": "active"})
|
||||
print(keys)
|
||||
if len(keys) >= 1:
|
||||
keys_str = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user