-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: Enable admins to change users from "Unverified" to "Verified" #6355
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
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/qim4rv6gu |
|
@iamareebjamal this is currently giving me this error on changing the sate of is_verified (for testing I have also made is_verified |
Codecov Report
@@ Coverage Diff @@
## development #6355 +/- ##
===============================================
+ Coverage 22.71% 22.81% +0.10%
===============================================
Files 520 524 +4
Lines 5745 5803 +58
Branches 113 113
===============================================
+ Hits 1305 1324 +19
- Misses 4413 4452 +39
Partials 27 27
Continue to review full report at Codecov.
|
|
|
sqlalchemy.exc.DataError: (psycopg2.errors.InvalidTextRepresentation) invalid input syntax for integer: "3e44abb2" |
|
complete payload - {"data":{"id":"2","attributes":{"email":"[email protected]","is-blocked":true,"is-admin":false,"is-user-owner":false,"is-user-organizer":false,"is-user-coorganizer":false,"is-user-track-organizer":false,"is-user-moderator":false,"is-user-registrar":false,"is-sales-admin":false,"is-marketer":false,"was-registered-with-order":false,"first-name":null,"last-name":null,"details":null,"contact":null,"avatar-url":null,"icon-image-url":null,"small-image-url":null,"thumbnail-image-url":null,"original-image-url":null,"facebook-url":null,"instagram-url":null,"twitter-url":null,"google-plus-url":null,"deleted-at":null,"billing-contact-name":null,"billing-phone":null,"billing-country":null,"company":null,"billing-address":null,"billing-city":null,"billing-zip-code":null,"billing-tax-info":null,"billing-additional-info":null,"billing-state":null},"relationships":{"owner-events":{"data":[]},"organizer-events":{"data":[]},"coorganizer-events":{"data":[]},"track-organizer-events":{"data":[]},"registrar-events":{"data":[]},"moderator-events":{"data":[]},"marketer-events":{"data":[{"type":"event","id":"3e44abb2"},{"type":"event","id":"0ccd0d34"},{"type":"event","id":"bf0a821f"},{"type":"event","id":"3b67cff2"},{"type":"event","id":"53170e0a"},{"type":"event","id":"a68ec65f"},{"type":"event","id":"825d4796"}]},"sales-admin-events":{"data":[{"type":"event","id":"3e44abb2"},{"type":"event","id":"0ccd0d34"},{"type":"event","id":"bf0a821f"},{"type":"event","id":"3b67cff2"},{"type":"event","id":"53170e0a"},{"type":"event","id":"a68ec65f"},{"type":"event","id":"825d4796"}]}},"type":"user"}} |
|
Exactly. event ID is identifier instead of id |
but I am passing only user id, and how to paas event id in toggleBlocked? |
|
See event relation serializer |
|
The error is comming due to these relation. What to do next? |
|
It's issue in frontend, not server, see event relation serializer |
|
I have reverted changes of event-relation to previous version but still getting the same error. |


Fixes #5040

Checklist
developmentbranch.