Account activation pop up added: (#474)

VAN-435
This commit is contained in:
Adeel Ehsan
2021-06-07 10:33:59 +05:00
committed by GitHub
parent 854010ba52
commit a003059c8f
9 changed files with 197 additions and 20 deletions

View File

@@ -239,3 +239,8 @@ export async function postIntegritySignature(courseId) {
);
return camelCaseObject(data);
}
export async function sendActivationEmail() {
const url = new URL(`${getConfig().LMS_BASE_URL}/api/send_account_activation_email`);
const { data } = await getAuthenticatedHttpClient().post(url.href, {});
return data;
}

View File

@@ -7,6 +7,7 @@ export {
} from './thunks';
export {
getResumeBlock,
sendActivationEmail,
} from './api';
export {
sequenceIdsSelector,