Skip to content

Commit a209927

Browse files
itsfadnisSeyZ
authored andcommitted
Replace const with var for <IE11 browser support (#187)
1 parent 4bef2ab commit a209927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/serializer-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = function (collectionName, record, payload, opts) {
154154
}
155155

156156
if (opts.relationshipLinks) {
157-
const links = getLinks(current[attribute], opts.relationshipLinks, dest);
157+
var links = getLinks(current[attribute], opts.relationshipLinks, dest);
158158
if (links.related) {
159159
dest.relationships[keyForAttribute(attribute)].links = links;
160160
}

0 commit comments

Comments
 (0)