From aefc00cfdf705c9c81a88af28cd4ccbd6422e17c Mon Sep 17 00:00:00 2001 From: Fabian Kromer Date: Thu, 1 Aug 2024 09:53:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fixed=20a=20type=20of=20the=20la?= =?UTF-8?q?st=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- imports/api/timecards/server/methods.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imports/api/timecards/server/methods.js b/imports/api/timecards/server/methods.js index 453ea20..06db45a 100644 --- a/imports/api/timecards/server/methods.js +++ b/imports/api/timecards/server/methods.js @@ -441,7 +441,7 @@ const sendToSiwapp = new ValidatedMethod({ for await (const [project, resources] of projectMap.entries()) { const projectElement = await Projects.findOneAsync({ _id: project }) if (resources.size > 0) { - for (const [resource, hours] of resourcses) { + for (const [resource, hours] of resources) { invoiceJSON.data.relationships.items.data.push({ attributes: { description: `${projectElement.name} (${resource})`, diff --git a/package.json b/package.json index 438d035..0d1ec72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "titra", - "version": "0.99.5", + "version": "0.99.6", "private": true, "scripts": { "start": "meteor run"