Fixed getChannelLogs bug (template string variable without ${})

This commit is contained in:
abalabahaha
2015-12-13 02:00:01 -08:00
parent c9c1b19968
commit ecc604e6ac
2 changed files with 2 additions and 2 deletions

View File

@@ -540,7 +540,7 @@ var InternalClient = (function () {
}
}
return _this13.apiRequest("get", "Endpoints.CHANNEL_MESSAGES(channel.id)?" + _querystring2["default"].stringify(qsObject), true).then(function (res) {
return _this13.apiRequest("get", _Constants.Endpoints.CHANNEL_MESSAGES(channel.id) + "?" + _querystring2["default"].stringify(qsObject), true).then(function (res) {
return res.map(function (msg) {
return channel.messages.add(new _StructuresMessage2["default"](msg, channel, _this13.client));
});