Skip to content

Commit

Permalink
fixup post review
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 7, 2025
1 parent 552b601 commit 3096ffe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/network/rpc/sio-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ class SIOStreamSocket {
encodedObj = {};
// user objects are simple flat objects and we want to
// copy all their properties

for (const k in arg) {
encodedObj[k] = this.encodeStreams(arg[k]);
}
Expand Down Expand Up @@ -415,7 +414,6 @@ class SIOStreamSocket {
decodedObj = {};
// user objects are simple flat objects and we want to
// copy all their properties

for (const k in arg) {
decodedObj[k] = this.decodeStreams(arg[k]);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/policyEvaluator/RequestContext.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ describe('RequestContext', () => {
const ssoRC = new RequestContext(...ssoParams);
assert.strictEqual(ssoRC.getResource(), 'arn:scality:sso:::general-resource/specific-resource');
});
});
});

0 comments on commit 3096ffe

Please sign in to comment.