adds default doc

This commit is contained in:
ajaythapliyal
2023-03-01 09:05:16 +05:30
parent 923165957e
commit 2f63bf85b5
5 changed files with 36 additions and 5936 deletions

View File

@@ -12,13 +12,15 @@ export function fetchAnswerApi(
}
const docPath =
selectedDocs.language +
'/' +
namePath +
'/' +
selectedDocs.version +
'/' +
selectedDocs.model;
selectedDocs.name === 'default'
? 'default'
: selectedDocs.language +
'/' +
namePath +
'/' +
selectedDocs.version +
'/' +
selectedDocs.model;
return fetch('https://docsapi.arc53.com/api/answer', {
method: 'POST',