upstash / redis-js

HTTP based Redis Client for Serverless and Edge Functions
https://docs.upstash.com/redis
MIT License
668 stars 51 forks source link

get() returns base64 encoded string instead of actual value #1246

Open obibring opened 4 weeks ago

obibring commented 4 weeks ago

I'm using set(key, json_string) to store data and seeing the correct string in the Dashboard. Fetching that data w/ get(key) returns a base64 encoded string, not the original string passed to the set() method.

ogzhanolguncu commented 3 weeks ago

By default our SDK decodes base64 so it should work out of box. Can you share your code?