bzarras / newsapi

A promise-based node interface for NewsAPI
MIT License
146 stars 39 forks source link

code works locally but not in production #31

Open ralyodio opened 4 years ago

ralyodio commented 4 years ago

The key doesn't seem to work on my server:

I have validated the key is being logged properly right before usage.

NewsAPIError: apiKeyInvalid: Your API key is invalid or incorrect. Check your key, or go to https://newsapi.org to create a free API key.

It works fine locally.

ralyodio commented 4 years ago

This code only works on node 12, not 14 or 15.

bzarras commented 4 years ago

@chovy thanks for bringing this to my attention

Boscop commented 10 months ago

@ralyodio Is this still the case?