From 3c22a7b8c14e15565b8ddc67dfc4aeddfdad7d92 Mon Sep 17 00:00:00 2001 From: radex Date: Wed, 31 Jan 2024 09:25:15 +0100 Subject: [PATCH] fix printing --- storage/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/models.py b/storage/models.py index 0a2e08d..92feb9a 100644 --- a/storage/models.py +++ b/storage/models.py @@ -29,7 +29,7 @@ def api_print(item): resp = requests.post( "{}/api/2/print".format(settings.LABEL_API), params={ - "id": item.short_id, + "id": item.short_id(), "name": item.name, "owner": item.owner, }