Этот коммит содержится в:
Christopher Speller
2016-04-28 16:29:13 -04:00
коммит произвёл Joram Wilander
родитель 938caa061d
Коммит f3fa435a1b
6 изменённых файлов: 48 добавлений и 14 удалений

Просмотреть файл

@@ -348,10 +348,9 @@ export default class Client {
importSlack = (fileData, success, error) => {
request.
post(`${this.getTeamsRoute()}/import_team`).
post(`${this.getTeamNeededRoute()}/import_team`).
set(this.defaultHeaders).
type('application/json').
accept('application/json').
accept('application/octet-stream').
send(fileData).
end(this.handleResponse.bind(this, 'importSlack', success, error));
}