-
Notifications
You must be signed in to change notification settings - Fork 410
Invite links update #98
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
src/server/api/schema.js
Outdated
| @@ -1,3 +1,4 @@ | |||
| import { log } from '../../lib' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we importing log here? Are we using it/planning to use it in this file?
|
I think we need to wrap the inviteInput in an array because of knex psql? Not sure if this is the same issue, but in order to do an insert statement and return the inserted id for knex and (specifically) psql, what you want to return needs to be wrapped in an array. But this comment could be completely un related. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When testing on production, I'm getting a GraphQL error when trying to create an organization. After you created an invite connected to a hash, were you able to create an organization?
|
Org creation should be fixed now. In my testing, the org I created doesn't get attached to my account, but I confirmed the org was created in the database, and I believe that also happens in master, so assuming it's not related to invite changes. |
…_texter_status add suspended texter status
For https://github.com/MoveOnOrg/Spoke/issues/86, this adds a hash column to the invite schema, populates it with UUID, and uses that instead of ID, so invite links are less guessable.