Skip to content

Add "getUser" action, to fetch a specific user

Alf Eaton requested to merge get-user into master

fixes #31

This includes a backwards-incompatible change, moving the existing getUser action to getCurrentUser, which is unfortunate but is at least the most appropriate name for the action which fetches the current user. To do otherwise (e.g. calling the new action getProfile) would've resulted in several confusingly-named actions.

I also took the opportunity to tidy up the actions index, using import * rather than importing and exporting each named action individually.

Merge request reports