aboutsummaryrefslogtreecommitdiffstats
path: root/models.js
diff options
context:
space:
mode:
Diffstat (limited to 'models.js')
-rw-r--r--models.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/models.js b/models.js
index 343d1f6..cf5137d 100644
--- a/models.js
+++ b/models.js
@@ -1,8 +1,8 @@
module.exports = db => {
const endpoints = db.get('endpoints');
- endpoints.createIndex({ name: 1 }, { unique: true });
+ endpoints.createIndex({name: 1}, {unique: true});
return {
- endpoints,
+ endpoints
};
-}
+};