bombbomb / BBCore

A Javascript API to use BombBomb services
4 stars 12 forks source link

invalidateSession results in a 500 #11

Closed DubHunt closed 7 years ago

DubHunt commented 7 years ago

I'm getting a 500 when I call invalidateSession:

bb = new BBCore({accessToken:'myApiKey'})
...
bb.authenticated
true
bb.invalidateSession()
undefined
2016-11-28 16:35:01.234 api.php:1 POST https://app.bombbomb.com/app/api/api.php 500 (Internal Server Error)

Content of the response body for the POST request:

{"status":"failure","methodName":"invalidateKey","info":{"errormsg":"Invalid Method"}}
perl5punk commented 7 years ago

invalidateSession() now relies on logout(), which no longer makes external calls. Marking this issue as resolved, as of the latest release 4/13/2017