Created
October 24, 2018 18:57
-
-
Save productioncoder/d5aa4a30e8ee7eff661be48f53867030 to your computer and use it in GitHub Desktop.
Youtube VideoCategory actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const VIDEO_CATEGORIES = createRequestTypes('VIDEO_CATEGORIES'); | |
export const categories = { | |
request: () => createAction(VIDEO_CATEGORIES[REQUEST]), | |
success: (response) => createAction(VIDEO_CATEGORIES[SUCCESS], {response}), | |
failure: (response) => createAction(VIDEO_CATEGORIES[FAILURE], {response}), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment