Skip to content

Commit

Permalink
refactor(kuzzle): convert KuzzleEventEmitter to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauNeko committed Aug 21, 2024
1 parent c225aa1 commit e035212
Show file tree
Hide file tree
Showing 11 changed files with 229 additions and 138 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ lib/kerror/errors/tooManyRequestsError.js
lib/kerror/errors/unauthorizedError.js
lib/kerror/index.js
lib/kuzzle/kuzzle.js
lib/kuzzle/event/KuzzleEventEmitter.js
lib/model/security/profile.js
lib/model/security/role.js
lib/model/security/token.js
Expand Down
2 changes: 1 addition & 1 deletion lib/core/security/tokenRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ export class TokenRepository extends ObjectRepository<Token> {
*
* So we need to override the TTL auto-refresh function to disable it
*/
refreshCacheTTL() {
async refreshCacheTTL() {
// This comment is here to please Sonarqube. It requires a comment
// explaining why a function is empty, but there is no sense
// duplicating what has been just said in the JSDoc.
Expand Down
Loading

0 comments on commit e035212

Please sign in to comment.