Skip to content

Commit

Permalink
форк плагина от lampame
Browse files Browse the repository at this point in the history
  • Loading branch information
and7ey authored Nov 20, 2024
1 parent 4a8add2 commit b18c2c9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions torrentmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,9 @@
// Если getHeaders возвращает объект с ключом headers
contentType: "application/json",
success: function success(response, textStatus, jqXHR) {
console.log('LME Torrent manager', 'Auth result', response);
console.log('LME Torrent manager', 'Auth result', response.data);
console.log('LME Torrent manager', 'Auth result', response.data.sid);
console.log('LME Torrent manager', 'Synology auth result', response);
var data = {
sID: response.data.sid,
sID: JSON.parse(response).data.sid,
createDate: Math.floor(Date.now() / 1000)
};
Lampa.Storage.set("lmetorrentsynologyKey", JSON.stringify(data));
Expand Down

0 comments on commit b18c2c9

Please sign in to comment.