Skip to content

Instantly share code, notes, and snippets.

@frankzickert
Created August 20, 2019 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frankzickert/b72e9806bca7c656a279b509bbfd2442 to your computer and use it in GitHub Desktop.
Save frankzickert/b72e9806bca7c656a279b509bbfd2442 to your computer and use it in GitHub Desktop.
export async function callAddUserService (userData: IUserEntry) {
await callService(
ADDUSER_SERVICE_ID,
userData,
(data: any) => {
console.log("received data: ", data);
},
(error) => {
console.log("error: " , error)
}
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment