Skip to content

Commit

Permalink
remove deletes (#5622)
Browse files Browse the repository at this point in the history
I was mucking about with google-closure-compiler and it tripped up on these deletes that are not for properties. Looking at the blame, looks like they may have been left over from some find/replacing.
  • Loading branch information
kturney authored and bmac committed Sep 4, 2018
1 parent a1dd055 commit b6af721
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default class RelationshipPayloads {
this._flushPending();

if (this._isLHS(modelName, relationshipName)) {
delete this.lhs_payloads.delete(modelName, id);
this.lhs_payloads.delete(modelName, id);
} else {
assert(
`${modelName}:${relationshipName} is not either side of this relationship, ${
Expand All @@ -182,7 +182,7 @@ export default class RelationshipPayloads {
}`,
this._isRHS(modelName, relationshipName)
);
delete this.rhs_payloads.delete(modelName, id);
this.rhs_payloads.delete(modelName, id);
}
}

Expand Down

0 comments on commit b6af721

Please sign in to comment.