Closed optikfluffel closed 5 years ago
If I'm not mistaken Veil.get_user/1 just calls Veil.Cache.get_or_update/3, which returns an {:ok, value} tuple, so we should correctly handle this in the generated MyAppWeb.Plugs.Veil.User file.
Veil.get_user/1
Veil.Cache.get_or_update/3
{:ok, value}
MyAppWeb.Plugs.Veil.User
Thanks!
If I'm not mistaken
Veil.get_user/1
just callsVeil.Cache.get_or_update/3
, which returns an{:ok, value}
tuple, so we should correctly handle this in the generatedMyAppWeb.Plugs.Veil.User
file.