Fix depibooru URLs

This commit is contained in:
Dragon Fire
2018-08-15 19:46:18 -04:00
parent bd10747b3c
commit a527d6116b
+1 -1
View File
@@ -44,6 +44,6 @@ module.exports = class DerpibooruCommand extends Command {
async fetchImage(id) {
const { body } = await request.get(`https://derpibooru.org/images/${id}.json`);
return `${body.representations.full}`;
return `http:${body.representations.full}`;
}
};