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

Fix auth generator regex #832

Merged
merged 3 commits into from
Jul 13, 2020
Merged

Fix auth generator regex #832

merged 3 commits into from
Jul 13, 2020

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Jul 12, 2020

This PR closes #830 by fixing the RegExp the auth generator uses to add the import { getCurrentUser } from 'src/lib/auth.js statement to the graphql function.

There's probably a better fix than just replacing "importAll" with "services", but this works.

Dominic and others added 3 commits July 13, 2020 02:02
@jtoar jtoar merged commit 1e3cfcb into redwoodjs:main Jul 13, 2020
@jtoar jtoar deleted the fix-auth-generator-regex branch July 13, 2020 09:22
@thedavidprice thedavidprice added this to the next release milestone Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue: v0.13.0 of redwood generate auth CLI fails to add the getCurrentUser import
3 participants