Skip to content

Instantly share code, notes, and snippets.

@kamescg
Created May 30, 2018 19:02
Show Gist options
  • Save kamescg/523219771061a3d4121d7a1084074f5a to your computer and use it in GitHub Desktop.
Save kamescg/523219771061a3d4121d7a1084074f5a to your computer and use it in GitHub Desktop.
UPortLoginFirebase Login Request via the Database
// Login
loginRequest: ()=>dispatch(databaseWriteRequest({
payload: {
input: {
requested: props.requested,
notifications: props.notifications,
},
meta: {
type: 'login',
status: 'initialized',
}
},
metadata: {
branch: ['request', 'login'],
delta: 'write|login|request',
writeType: 'create',
}
})),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment