summaryrefslogtreecommitdiff
path: root/invoice
diff options
context:
space:
mode:
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