Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
deleteDoneSubsByResponse(response) {
// TODO: replace with response.requestId
if (response.type === ControlLayer.ResendResponseResent.TYPE || response.type === ControlLayer.ResendResponseNoResend.TYPE) {
delete this.subForRequestId[response.requestId]
}
}