Wrap `withFirebaseUser` in another function to bind options
danecando opened this issue · comments
Dane Grant commented
This way options don't need to be added for every use in an API route
Something like this:
export const withFirebaseUser = createWithFirebaseUser({ ...options });