Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'AnonymousUser' object has no attribute 'company_accesses' #9

Open
sentry-io bot opened this issue May 13, 2020 · 0 comments
Open

Comments

@sentry-io
Copy link

sentry-io bot commented May 13, 2020

Sentry Issue: LOGGI-WEB-A3VD

AttributeError: 'AnonymousUser' object has no attribute 'company_accesses'
  File "promise/promise.py", line 403, in _resolve_from_executor
    executor(resolve, reject)
  File "promise/promise.py", line 655, in executor
    return resolve(f(*args, **kwargs))
  File "graphql/execution/middleware.py", line 75, in make_it_promise
    return next(*args, **kwargs)
  File "payments/schemas/query.py", line 257, in resolve_user_cost_centers
    user_companies_id = user.company_accesses.values_list('company_id', flat=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants