outpost: fix syntax error when creating an outpost with connection

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-15 18:39:51 +02:00
parent 3ca8d9c968
commit e8978adc1b
1 changed files with 3 additions and 1 deletions

View File

@ -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: