diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-31 14:45:55 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-31 14:45:55 +0530 |
commit | 894042060791ec106ad12ddf1b4a7b872c4a6aa6 (patch) | |
tree | 7c305ce72b296794065fa5f36f62290a9f48ea17 /invoice/invoice.go | |
parent | 7be2937c84c7b9e260498268c210fd6f4bebf2a3 (diff) |
Diffstat (limited to 'invoice/invoice.go')
-rw-r--r-- | invoice/invoice.go | 2 |
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 |