Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

refactored invite type service #6444

Merged
merged 3 commits into from
Jun 17, 2022
Merged

refactored invite type service #6444

merged 3 commits into from
Jun 17, 2022

Conversation

FabriceIRANKUNDA
Copy link
Contributor

Summary

A summary of changes being made in this PR

References

closes #insert number here
#6290

Checklist

  • If this PR is still a WIP, convert to a draft
  • ensure all checks pass
  • When this PR is ready, mark it as "Ready for review"
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

@FabriceIRANKUNDA FabriceIRANKUNDA marked this pull request as ready for review June 16, 2022 18:09
@@ -41,29 +47,31 @@ export const InviteTypeService = {
dispatch(InviteTypeAction.fetchingInvitesTypes())
try {
const inviteTypeResult = (await client.service('invite-type').find()) as Paginated<InviteType>
dispatch(InviteTypeAction.retrievedInvitesTypes(inviteTypeResult))
dispatch(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the wrong dispatch, should be dispatchAction()

@HexaField HexaField merged commit ccb4f38 into dev Jun 17, 2022
@HexaField HexaField deleted the Refactor-Invite-Type-Service branch June 17, 2022 06:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants