From 1419910b294ea45440cb9ad068c0c90b250e5bfb Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 23 Aug 2022 19:14:30 +0200 Subject: [PATCH] blueprints: fix duplicate tasks Signed-off-by: Jens Langhammer --- authentik/blueprints/v1/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/blueprints/v1/tasks.py b/authentik/blueprints/v1/tasks.py index ccfdcc221..9cc4ab0da 100644 --- a/authentik/blueprints/v1/tasks.py +++ b/authentik/blueprints/v1/tasks.py @@ -125,7 +125,7 @@ def check_blueprint_v1_file(blueprint: BlueprintFile): ) instance.save() if instance.last_applied_hash != blueprint.hash: - apply_blueprint.delay(instance.pk.hex) + apply_blueprint.delay(str(instance.pk)) @CELERY_APP.task(