summaryrefslogtreecommitdiff
path: root/lib/db/index.js
diff options
context:
space:
mode:
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()
+}