apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 35 forks source link

language selection is broken #3774

Open ilarimikkonen opened 4 years ago

ilarimikkonen commented 4 years ago

how to repro: change language to "suomi"

actual: language is still engrish

expected: languages changes to finnish (suomi)

TypeError: Session.update is not a function from language.js

ilarimikkonen commented 4 years ago

https://github.com/meteor/meteor/issues/9918

ilarimikkonen commented 4 years ago

Session.get('lang'); returns 'en' in apinf.io, but in 0.60.0 returns undefined, so meteor update regression?

ilarimikkonen commented 4 years ago

root cause: code was using (non existing) session.Update() method. need to change to session.set()