- added buttons of 'resend emails' to single amendment page;
- added the same bttons to amendments table;
This commit is contained in:
13
src/service/email-service.js
Normal file
13
src/service/email-service.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { NetworkService } from './network-service';
|
||||
|
||||
const API_BASE_URL = process.env.REACT_APP_API_EXECUTION_ADDRESS;
|
||||
|
||||
export default class EmailService {
|
||||
|
||||
static emailResend = (id, callback, errCallback) => {
|
||||
NetworkService.post(`${API_BASE_URL}/email/resend`, {}, callback, errCallback, [
|
||||
['userActionId', id]
|
||||
]);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user