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

Can patch user when logged in as app_user but not app_admin #562

Open
bigbadbrad opened this issue Dec 18, 2020 · 0 comments
Open

Can patch user when logged in as app_user but not app_admin #562

bigbadbrad opened this issue Dec 18, 2020 · 0 comments

Comments

@bigbadbrad
Copy link

I don't think there's a bug in the starhackit code. BUT...
I tried to use the patch code from app_user/profile and and re-use it in app_admin/users when logged in as Admin (and $npm run start:admin)

The patch appears to be working on the server when a new mocha test is run. The form on the client appears to be sending the patch request to the server. But the age does not update. Is the problem on the client or the server?

The fork is here: https://github.com/bigbadbrad/starhackit

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