Account activation pop up added: (#425)

VAN-435
This commit is contained in:
Adeel Ehsan
2021-06-04 20:13:12 +05:00
committed by GitHub
parent 5c204ad0f9
commit 07b82b1d87
7 changed files with 193 additions and 0 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,