webosbrew / dev-manager-desktop

Device/DevMode Manager for webOS TV
Apache License 2.0
1.03k stars 68 forks source link

Renew automatically shell script has a typo in the URL #139

Closed klamike closed 12 months ago

klamike commented 12 months ago

Describe the bug In the renew automatically shell script option, the URL template is https://developer.lge.com/secure/ResetDevModeSession.dev?SESSION_TOKEN=$SESSION_TOKEN but it should be https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken=$SESSION_TOKEN.

To Reproduce Steps to reproduce the behavior:

  1. Go to webOS Dev Manager App
  2. Click on Info
  3. Click on Shell Script
  4. Note the second to last line of code with the typo
  5. Run the shell script and receive the error response {"result":"fail","errorCode":"ERR_006","errorMsg":"Check sessionToken"}

Expected behavior Step 5 should return {"result":"success","errorCode":"200","errorMsg":"GNL"}