From 1f598e3752d18ecf4f022588531093d711ac6c01 Mon Sep 17 00:00:00 2001 From: Javier Ramos Date: Thu, 2 Jul 2020 16:41:19 +0200 Subject: [PATCH] Fix unmatched field in Authorization The field in the formatted string was not matching the args --- lemur/authorizations/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemur/authorizations/models.py b/lemur/authorizations/models.py index 04ac0508..0797a489 100644 --- a/lemur/authorizations/models.py +++ b/lemur/authorizations/models.py @@ -25,7 +25,7 @@ class Authorization(db.Model): return plugins.get(self.plugin_name) def __repr__(self): - return "Authorization(id={id})".format(label=self.id) + return "Authorization(id={id})".format(id=self.id) def __init__(self, account_number, domains, dns_provider_type, options=None): self.account_number = account_number