From e8978adc1b3a13994e17dc9aa35e356e10a0f80b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 15 Jun 2021 18:39:51 +0200 Subject: [PATCH] outpost: fix syntax error when creating an outpost with connection Signed-off-by: Jens Langhammer --- authentik/outposts/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/authentik/outposts/models.py b/authentik/outposts/models.py index 3ce9659c1..9276becdf 100644 --- a/authentik/outposts/models.py +++ b/authentik/outposts/models.py @@ -143,7 +143,9 @@ class OutpostServiceConnection(models.Model): @property def component(self) -> str: """Return component used to edit this object""" - raise NotImplementedError + # This is called when creating an outpost with a service connection + # since the response doesn't use the correct inheritance + return "" class Meta: