Add premium My Case MVP
This commit is contained in:
@@ -202,7 +202,10 @@
|
||||
const stepState = STEP_LABELS.map((label) => ({ label, detail: 'Queued', status: 'idle' }));
|
||||
renderTrace(stepState);
|
||||
|
||||
const payload = { engine, language: lang, slices };
|
||||
const payload = {
|
||||
engine, language: lang, slices,
|
||||
use_my_case: (typeof window.dbnGetUseMyCase === 'function') ? window.dbnGetUseMyCase() : false,
|
||||
};
|
||||
const form = new FormData();
|
||||
form.append('payload', JSON.stringify(payload));
|
||||
form.append('file_a', fileA);
|
||||
|
||||
Reference in New Issue
Block a user