Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.

Commit

Permalink
fix: remove code from codeKeyMap after sending data
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
BerniWittmann committed Mar 27, 2021
1 parent fd296c1 commit b43ba7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/Iris.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ export default class Iris {
console.error('IRIS Gateway responded the following data', response.data);
throw new Error(`Request failed with status Code ${response.status}`);
}
this.codeKeyMap.delete(code);
}
}

0 comments on commit b43ba7b

Please sign in to comment.