From 0d096756fb8420e98de12c346903ea17dec1e397 Mon Sep 17 00:00:00 2001 From: "Mark J. Horninger" Date: Thu, 15 Feb 2024 22:01:01 -0500 Subject: [PATCH] Now passing the basic unit tests --- plugins/inventory/netbird.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inventory/netbird.py b/plugins/inventory/netbird.py index f0a963a..a099a6d 100644 --- a/plugins/inventory/netbird.py +++ b/plugins/inventory/netbird.py @@ -90,8 +90,8 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable): api_key = self.get_option('api_key') api_url = self.get_option('api_url') - if self.templar.is_template(access_token): - access_token = self.templar.template(access_token) + if self.templar.is_template(api_key): + api_key = self.templar.template(api_key) if self.templar.is_template(api_url): api_url = self.templar.template(api_url)