Skip to content

Instantly share code, notes, and snippets.

@TryingToImprove
Created February 18, 2015 16:29
Show Gist options
  • Save TryingToImprove/af7cf512f03a49cdd28e to your computer and use it in GitHub Desktop.
Save TryingToImprove/af7cf512f03a49cdd28e to your computer and use it in GitHub Desktop.
// Notify listeners that the authentication is started
PatientActions.fetchContactInformationsStarted(patientId);
// Call the API
ContactInformationService.patient.findAll(patientId)
.then(cb(PatientActions.fetchContactInformationsSuccess, patientId),
cb(PatientActions.fetchContactInformationsFailed, patientId));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment