summaryrefslogtreecommitdiff
path: root/lib/db/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-26 09:46:55 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-26 09:46:55 +0100
commit0ef7a5e0dc1a156a20ca75c8d75f0a26e814b02d (patch)
treebffc7969e44daa916c3751ff7429a3a860f06c4c /lib/db/index.js
parentfc37dac763fcc9011121cfad2e91493521ebd0dc (diff)
scrubbing design
Diffstat (limited to 'lib/db/index.js')
-rw-r--r--lib/db/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/db/index.js b/lib/db/index.js
index 7bcb9ea..75ee2ad 100644
--- a/lib/db/index.js
+++ b/lib/db/index.js
@@ -28,5 +28,5 @@ db.getRandom = function () {
}
db.createImage = function(url){
- return new Image({ url: url, shorturl: "" }).save()
-} \ No newline at end of file
+ return new Image({ url: url }).save()
+}