Skip to content

Commit

Permalink
fix: admin token cache
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Nov 7, 2024
1 parent 5688d05 commit 8e80019
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/common/imapi/caller.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func New(imApi string, imSecret string, defaultIMUserID string) CallerInterface
imApi: imApi,
imSecret: imSecret,
defaultIMUserID: defaultIMUserID,
tokenCache: make(map[string]*authToken),
lock: sync.RWMutex{},
}
}

Expand Down

0 comments on commit 8e80019

Please sign in to comment.