If a user goes to do gigalixir access:add <email_here>, they get the error 'NoneType' object has no attribute 'encode'. If a user does gigalixir access:add <email_here> -a <name_of_app>, the command will succeed. Even if the other commands don't need the explicit app name because it is already set, this one seemed to. Adding the @detect_app_name decorator does in fact fix it.
If a user goes to do
gigalixir access:add <email_here>
, they get the error'NoneType' object has no attribute 'encode'
. If a user doesgigalixir access:add <email_here> -a <name_of_app>
, the command will succeed. Even if the other commands don't need the explicit app name because it is already set, this one seemed to. Adding the@detect_app_name
decorator does in fact fix it.