Skip to content

Commit fc0f590

Browse files
committed
fix lint
1 parent 24e30cc commit fc0f590

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/adapters/application.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,18 @@ export default class Application extends JSONAPIAdapter {
6161

6262
if (typeof revId !== 'undefined') {
6363
let encodedRevId = encodeURIComponent(revId);
64-
url = `json-docs/${projectName}/${version}/${pluralize(modelNameToUse)}/${encodedRevId}`;
64+
url = `json-docs/${projectName}/${version}/${pluralize(
65+
modelNameToUse
66+
)}/${encodedRevId}`;
6567
} else {
6668
throw new Error('Documentation item not found');
6769
}
6870
} else if (modelName === 'missing') {
6971
let version = this.projectService.version;
7072
let revId = this.metaStore.getRevId(projectName, version, modelName, id);
71-
url = `json-docs/${projectName}/${version}/${pluralize(modelName)}/${revId}`;
73+
url = `json-docs/${projectName}/${version}/${pluralize(
74+
modelName
75+
)}/${revId}`;
7276
} else if (modelName === 'project') {
7377
this.currentProject = id;
7478
url = `rev-index/${id}`;

0 commit comments

Comments
 (0)