Skip to content

Commit dde1e53

Browse files
committed
style() improved style according to rules
1 parent b426f75 commit dde1e53

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/serializer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ function makeLinks (links, item) {
345345
* @return {undefined}
346346
*/
347347
function handleIncludes (resp, includes, relations, options) {
348-
var app = options.app;
348+
var app = options.app
349349

350350
relations = utils.setIncludedRelations(relations, app)
351351

@@ -474,7 +474,6 @@ function handleIncludes (resp, includes, relations, options) {
474474
function createCompoundIncludes (relationship, key, fk, type, includedRelations, options) {
475475
var compoundInclude = makeRelation(type, String(relationship[key]))
476476

477-
478477
if (options && !_.isEmpty(includedRelations)) {
479478
var defaultModelPath = options.modelPath
480479
options.modelPath = type

lib/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,4 @@ function setIncludedRelations (relations, app) {
237237
}
238238
}
239239
return relations
240-
241240
}

0 commit comments

Comments
 (0)