From 9c635ee1b30b4057f7892e8611229f9d3bd3cf1b Mon Sep 17 00:00:00 2001 From: Menci Date: Tue, 7 Mar 2017 17:23:58 +0800 Subject: [PATCH] Update Hitokoto API argument --- utility.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utility.js b/utility.js index 7618582..6140f42 100644 --- a/utility.js +++ b/utility.js @@ -250,7 +250,8 @@ module.exports = { return await request({ uri: 'http://api.hitokoto.us/rand', qs: { - encode: 'json' + encode: 'json', + cat: 'a' }, json: true });