Closed jaredmorgs closed 6 years ago
@jaredmorgs Thank you for submitting the issue! I havn't tested 2 factor authentication so it may just be that there is a new flow this package has to support. I can take a look into it for you :)
I think the issue stems from this like here
https://github.com/ericadamski/atom-medium/blob/928b3964a4658bb7f0c4129b4234165139d7a5ee/lib/medium-upload.js#L107
We are trying to call
https://github.com/ericadamski/atom-medium/blob/928b3964a4658bb7f0c4129b4234165139d7a5ee/lib/medium-upload-view.js#L105
But public
isn't a function it is actually publish
so I will test this and get a hotfix out as soon as possible!
I'll be happy to test once you've patched it.
I'm migrating away from a roll your own static site so have plenty of posts to test with.
@jaredmorgs I published a patch update to v0.1.4
that should fix this problem, please let me know if you are stilling having issues! Thank you!!!
I just installed the package and attempted to authenticate to Medium using my Google ID as the login method. I'm already a Medium user and have a validated account. I got a 400 bad request after entering my 2FA number.
I got a false message about the service being alive (because it probably created the authentication token) but when I select the .md file to "Use as Medium Post" and try to post a draft, I get a "There was an error drafting your post {}" message.
When I try to post to Public, I get the followin stacktrace.
Atom: 1.23.1 x64 Electron: 1.6.15 OS: Mac OS X 10.13.1 Thrown From: medium-upload package 0.1.3
Stack Trace
Uncaught TypeError: pack.public is not a function
Commands
Non-Core Packages