fixing typoes
This commit is contained in:
@@ -218,9 +218,8 @@ async function getEpisodesByEntities(entityIds) {
|
|||||||
|
|
||||||
async function getEntityIdsBySession(sessionId){
|
async function getEntityIdsBySession(sessionId){
|
||||||
const res = await fetch(`${BASE_URL}/sessions/${sessionId}/entity-ids`);
|
const res = await fetch(`${BASE_URL}/sessions/${sessionId}/entity-ids`);
|
||||||
|
|
||||||
if (!res.ok) throw new Error(`Entity-ids-by-session error: ${res.status}`);
|
if (!res.ok) throw new Error(`Entity-ids-by-session error: ${res.status}`);
|
||||||
const {entityIds} = await res.jaon();
|
const { entityIds } = await res.json();
|
||||||
return entityIds;
|
return entityIds;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,4 +249,5 @@ module.exports = {
|
|||||||
getProjectOverviewSummary,
|
getProjectOverviewSummary,
|
||||||
searchEpisodes,
|
searchEpisodes,
|
||||||
getEpisodesByEntities,
|
getEpisodesByEntities,
|
||||||
|
getEntityIdsBySession,
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user