fix linter errors
This commit is contained in:
parent
9789821622
commit
c23c05a6ce
1 changed files with 5 additions and 5 deletions
10
index.js
10
index.js
|
@ -243,22 +243,22 @@ const ContainerService = {
|
|||
color: "",
|
||||
name: "Pending to be deleted",
|
||||
public: true,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return identity;
|
||||
}
|
||||
|
||||
let oldGetIdentityFromId = ContextualIdentityService.getIdentityFromId;
|
||||
const oldGetIdentityFromId = ContextualIdentityService.getIdentityFromId;
|
||||
ContextualIdentityService.getIdentityFromId = function(userContextId) {
|
||||
return workaroundForCookieManager(oldGetIdentityFromId, userContextId);
|
||||
}
|
||||
};
|
||||
|
||||
if ("getPublicIdentityFromId" in ContextualIdentityService) {
|
||||
let oldGetPublicIdentityFromId = ContextualIdentityService.getIdentityFromId;
|
||||
const oldGetPublicIdentityFromId = ContextualIdentityService.getIdentityFromId;
|
||||
ContextualIdentityService.getIdentityFromId = function(userContextId) {
|
||||
return workaroundForCookieManager(oldGetPublicIdentityFromId, userContextId);
|
||||
}
|
||||
};
|
||||
}
|
||||
// End-Of-Hack
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue