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
1 changed files with 1 additions and 1 deletions

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()