summaryrefslogtreecommitdiff
path: root/lib/db
diff options
context:
space:
mode:
Diffstat (limited to 'lib/db')
-rw-r--r--lib/db/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db/index.js b/lib/db/index.js
index 573528d..6e36602 100644
--- a/lib/db/index.js
+++ b/lib/db/index.js
@@ -31,7 +31,7 @@ db.getRandom = function () {
}
db.getRandomAscii = function () {
return ShaderImage.query(function(qb){
- qb.where("tag", "=", "ascii").orderBy(knex.raw('RAND()')).limit(1)
+ qb.where("tag", "ascii").orderBy(knex.raw('RAND()')).limit(1)
}).fetch()
}
db.getIndex = function(limit, offset) {