rename attribute to property
This commit is contained in:
@@ -107,7 +107,7 @@ class NKodeAPI:
|
||||
customer = self.customers[customer_id]
|
||||
return customer.valid_key_entry(username, key_selection)
|
||||
|
||||
def renew_attributes(self, customer_id: UUID) -> bool:
|
||||
def renew_keys(self, customer_id: UUID) -> bool:
|
||||
if customer_id not in self.customers.keys():
|
||||
raise ValueError("Customer ID not found")
|
||||
return self.customers[customer_id].renew_keys()
|
||||
|
||||
Reference in New Issue
Block a user