summaryrefslogtreecommitdiff
path: root/invoice
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-31 14:45:55 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-31 14:45:55 +0530
commit894042060791ec106ad12ddf1b4a7b872c4a6aa6 (patch)
tree7c305ce72b296794065fa5f36f62290a9f48ea17 /invoice
parent7be2937c84c7b9e260498268c210fd6f4bebf2a3 (diff)
added contact and address info to userHEADmain
Diffstat (limited to 'invoice')
-rw-r--r--invoice/invoice.go2
1 files changed, 1 insertions, 1 deletions
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