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

Unify options.loginData.fetchData and options.fetchData #338

Open
Glandos opened this issue Aug 17, 2021 · 0 comments
Open

Unify options.loginData.fetchData and options.fetchData #338

Glandos opened this issue Aug 17, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Glandos
Copy link
Contributor

Glandos commented Aug 17, 2021

Is your feature request related to a problem? Please describe.
I want to transform the received object from the profile URL defined in options.fetchData.url before storing it as a user. This is currently not possible, since only options.fetchItem is used as key to transform the received object.

This is a bit confusing with options.loginData.fetchData that is a function that transform the response from the login URL only.

Describe the solution you'd like
options.fetchData could use options.fetchItem as a function and call it.

@d0whc3r d0whc3r self-assigned this Aug 18, 2021
@d0whc3r d0whc3r added enhancement New feature or request help wanted Extra attention is needed labels Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants