Skip to content

Commit

Permalink
Merge pull request #1161 from hubmapconsortium/notify
Browse files Browse the repository at this point in the history
Adds send_to_email true to the data passed to the Notify system
  • Loading branch information
yuanzhou committed Jul 5, 2023
2 parents aa35102 + e75583a commit f9d9cf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/src/service/ingest_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ export function ingest_api_reorganize_upload(uuid, auth) {
};

/*
* Slack Notify
* Notify
*
*/
export function ingest_api_notify_slack(auth, data) {
Expand All @@ -543,7 +543,8 @@ export function ingest_api_notify_slack(auth, data) {
"Bearer " + auth,
"Content-Type": "application/json"
}
};
};
data.send_to_email = true;
// const data = ["data-testing-notificatons","Beep (O v O)!"]
let url = `${process.env.REACT_APP_DATAINGEST_API_URL}/notify`;
return axios
Expand Down

0 comments on commit f9d9cf4

Please sign in to comment.