aboutsummaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-03-17 01:19:33 -0300
committerPitu <[email protected]>2017-03-17 01:19:33 -0300
commit72fb9ec9389eee3cb15378b225bc55c221142d48 (patch)
tree20331ff9241ee66cb907c68c2545225a34d3cf56 /controllers
parentMerge remote-tracking branch 'origin/master' (diff)
downloadhost.fuwn.me-72fb9ec9389eee3cb15378b225bc55c221142d48.tar.xz
host.fuwn.me-72fb9ec9389eee3cb15378b225bc55c221142d48.zip
whoops
Diffstat (limited to 'controllers')
-rw-r--r--controllers/albumsController.js2
-rw-r--r--controllers/uploadController.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/controllers/albumsController.js b/controllers/albumsController.js
index 452bd43..038d605 100644
--- a/controllers/albumsController.js
+++ b/controllers/albumsController.js
@@ -1,7 +1,7 @@
const config = require('../config.js')
const db = require('knex')(config.database)
const randomstring = require('randomstring')
-const utils = require('utilsController.js')
+const utils = require('./utilsController.js')
let albumsController = {}
diff --git a/controllers/uploadController.js b/controllers/uploadController.js
index 1f15786..acbf440 100644
--- a/controllers/uploadController.js
+++ b/controllers/uploadController.js
@@ -5,7 +5,7 @@ const randomstring = require('randomstring')
const db = require('knex')(config.database)
const crypto = require('crypto')
const fs = require('fs')
-const utils = require('utilsController.js')
+const utils = require('./utilsController.js')
let uploadsController = {}