Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Standard --fix
Browse files Browse the repository at this point in the history
<3 standardjs.com
  • Loading branch information
lesander committed Jan 15, 2017
1 parent d1de76a commit 8f4d40e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ let fritzLogin = {}
*/
fritzLogin.getSessionID = (options) => {
return new Promise(function (resolve, reject) {

// Do we have a options.sid value?
if (options.sid) {
// SIDs _do_ expire!
return resolve(options.sid)
}


// Request a challenge.
fritzRequest.request('/login_sid.lua', 'GET', options)

Expand Down

0 comments on commit 8f4d40e

Please sign in to comment.