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

Update typo in realtime_updates.py #5

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

matthieuEv
Copy link
Contributor

Checklist

  • [ x ] I have read the Contribution Guidelines
  • [ x ] I have read and agree to the Code of Conduct
  • [ x ] I have read and agree that my contributions will be included under the project license
  • [ x ] I have added a description of my changes and why I want them or linked the relevant pull request below
  • [ x ] I have ran the formatter, linter and tests locally and ensured they give their all green
  • [ x ] If contributing new code: I've ensured my new code is covered sufficiently by unit and integration tests

Description of Changes

missing a "s" for "admins" in:
await pb.admins.auth.with_password(email=ADMIN_EMAIL, password=ADMIN_PASSWORD)

causing the error:

   await pb.admin.auth.with_password(email=ADMIN_EMAIL, password=ADMIN_PASSWORD)
          ^^^^^^^^
AttributeError: 'PocketBase' object has no attribute 'admin'. Did you mean: 'admins'?

Related Issues

None

missing a "s" for "admins" in:
`await pb.admins.auth.with_password(email=ADMIN_EMAIL, password=ADMIN_PASSWORD)`

causing the error:
`    await pb.admin.auth.with_password(email=ADMIN_EMAIL, password=ADMIN_PASSWORD)
          ^^^^^^^^
AttributeError: 'PocketBase' object has no attribute 'admin'. Did you mean: 'admins'?`
@thijsmie
Copy link
Owner

Thank you for the fix! I need to get a test of the examples going...

@thijsmie thijsmie merged commit e495f84 into thijsmie:main Feb 26, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants