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

Deleted user sync #35

Open
Rowbotronics opened this issue Feb 23, 2022 · 0 comments
Open

Deleted user sync #35

Rowbotronics opened this issue Feb 23, 2022 · 0 comments

Comments

@Rowbotronics
Copy link
Collaborator

When a user is deleted in WA, push/pull in MCP will fail with error:

Traceback (most recent call last):
File "./mcp/main/tasks.py", line 31, in run_as_task
func(*args, **kwargs)
File "./mcp/wildapricot/functions.py", line 210, in push_users
if not WildapricotUser.query.filter_by(wildapricot_user_id=wa_contact['Id']):
TypeError: 'bool' object is not subscriptable

This situation should be handled gracefully by logging the exception and flagging the account somehow.

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

1 participant