PLT-2600/PLT-2770 Changed getPublicLink api call to return a proper JSON string (#2914)

* Removed unused channelId and userId parameters from web client getPublicLink method

* Changed getPublicLink api call to return a proper JSON string
Этот коммит содержится в:
Harrison Healey
2016-05-06 14:32:08 -04:00
коммит произвёл Corey Hulen
родитель 6c75662b82
Коммит e1cae3b15b
8 изменённых файлов: 28 добавлений и 25 удалений

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

@@ -1326,10 +1326,8 @@ export default class Client {
end(this.handleResponse.bind(this, 'getFileInfo', success, error));
}
getPublicLink = (channelId, userId, filename, success, error) => {
getPublicLink = (filename, success, error) => {
const data = {
channel_id: channelId,
user_id: userId,
filename
};