From 894042060791ec106ad12ddf1b4a7b872c4a6aa6 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 31 Jan 2023 14:45:55 +0530 Subject: added contact and address info to user --- invoice/invoice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'invoice') diff --git a/invoice/invoice.go b/invoice/invoice.go index f7b638a..813ce06 100644 --- a/invoice/invoice.go +++ b/invoice/invoice.go @@ -29,7 +29,7 @@ import ( // initialise a database connection for this package // not sure if I should do this but I am... -var db *mongo.Collection = database.DB.Collection("Invoice") +var db *mongo.Collection = database.DB.Collection("Invoices") /* The *legendary* Invoice struct * Each Recipient, Item in invoice, Address -- cgit v1.2.3