Skip to content

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

@Glandos

Description

@Glandos

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions