cjoudrey/md2medium

Clear config when access tokens are invalid

開放

#2 建立於 2017年7月18日

 (0 則留言) (0 個反應) (0 位負責人)Go (3 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (25 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Steps to reproduce:

  • Setup md2medium with valid API tokens.
  • Revoke an API token.
  • Run md2medium and you will see a 401 error.

When this happens we should clear the token from the config file such that the next time md2medium is run the user will be prompted for a token again.

Even better, we could prompt the user for a new token when the 401 happens.

貢獻者指南