From 0f0e5f7408969fcc4473746919bb0e8aaa89947c Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 8 Aug 2021 13:00:16 +0530 Subject: half-cleaned the way saving invoices works --- server/database/invoices.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/database/invoices.go') diff --git a/server/database/invoices.go b/server/database/invoices.go index d6bc015..e743b47 100644 --- a/server/database/invoices.go +++ b/server/database/invoices.go @@ -14,9 +14,9 @@ import ( ) type Invoice struct { - ID int - Items []Item - Transport string + ID int + Items []Item + Transporter Transport } /* -- cgit v1.2.3