diff options
Diffstat (limited to 'src/api/structures')
| -rw-r--r-- | src/api/structures/Route.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/structures/Route.js b/src/api/structures/Route.js index ff69e77..bb7ba87 100644 --- a/src/api/structures/Route.js +++ b/src/api/structures/Route.js @@ -16,7 +16,7 @@ const db = require('knex')({ some things like different data types for booleans need to be considered like in the implementation below where sqlite returns 1 and 0 instead of true and false. */ - const booleanFields = ['enabled', 'enableDownload', 'isAdmin']; + const booleanFields = ['enabled', 'enableDownload', 'isAdmin', 'nsfw']; const processResponse = row => { Object.keys(row).forEach(key => { |