fix embedded outpost deletion

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2023-12-04 10:14:34 +01:00
parent bfc36bc993
commit 8f846f5e25
No known key found for this signature in database
GPG key ID: 9C3FA22FABF1AA8D

View file

@ -61,4 +61,4 @@ class AuthentikOutpostConfig(ManagedAppConfig):
)
outpost.save()
else:
Outpost.objects.delete(managed=MANAGED_OUTPOST)
Outpost.objects.filter(managed=MANAGED_OUTPOST).delete()