Created
January 18, 2017 02:10
-
-
Save andycarrell/f20db961525d18b2b8cbda9d14f7d98d to your computer and use it in GitHub Desktop.
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
import thisApiMw from './thisApiMw' | |
import thatApiMw from './thatApiMw' | |
import someApiMw from './someApiMw' | |
const mws = { | |
thisApiMw, | |
thatApiMw, | |
someApiMw | |
} | |
const list = Object.values(mws) | |
export { | |
middlewareObject: mws, | |
middlewareList: list | |
} | |
export default mws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment