From 9549a14bab35af8c828466ce871b161bfd61a5d2 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Tue, 19 Nov 2024 20:21:17 +0100 Subject: [PATCH] Webhook: more bugfixes I should really stop coding while being sleepy :| --- voctopublish/api_client/webhook_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voctopublish/api_client/webhook_client.py b/voctopublish/api_client/webhook_client.py index 1750f44..f78e995 100644 --- a/voctopublish/api_client/webhook_client.py +++ b/voctopublish/api_client/webhook_client.py @@ -125,7 +125,7 @@ def _get_json(ticket, config, voctoweb_filename, language, rclone): ticket.voctoweb_filename_base + "_preview.jpg", ), "enabled": True, - "format": self.folder, + "format": ticket.folder, "frontend_url": "{}/v/{}".format( config["voctoweb"]["frontend_url"], ticket.slug,