feat(subscription): enhance subscription cache management and improve error handling
This commit is contained in:
@@ -64,7 +64,7 @@ func (s *Subscribe) GetCacheKeys() []string {
|
||||
if s == nil {
|
||||
return []string{}
|
||||
}
|
||||
keys := []string{}
|
||||
keys := make([]string, 0)
|
||||
|
||||
if s.Token != "" {
|
||||
keys = append(keys, fmt.Sprintf("%s%s", cacheUserSubscribeTokenPrefix, s.Token))
|
||||
|
||||
Reference in New Issue
Block a user