Fix spelling mistake

This commit is contained in:
Daniel Odendahl Jr
2018-06-08 15:49:20 +00:00
parent 0677950e17
commit 60ec9e6bc6
+1 -1
View File
@@ -42,7 +42,7 @@ module.exports = class DECTalkCommand extends Command {
.query({ text })
.redirects(0);
} catch (err) {
if (err.reponse.headers.location) url += err.response.headers.location;
if (err.response.headers.location) url += err.response.headers.location;
else throw err;
}
const dispatcher = connection.play(url);