Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
234 stars 36 forks source link

Fix get_api_key #159

Closed phoward38 closed 2 years ago

phoward38 commented 2 years ago

If POLISHED_API_KEY unset & not provided in API wrapper functions, this PR keeps the returned value of get_api_key as a character (NA_character) for correct wrapper function errors. Otherwise, an httr::authenticate error is returned instead of Account not found for provided API key