mirror of
https://github.com/nikoksr/notify.git
synced 2025-01-10 00:28:36 +02:00
using configured cache
Co-authored-by: Niko Köser <koeserniko@gmail.com>
This commit is contained in:
parent
51184dc768
commit
2b791ae0ba
@ -42,7 +42,7 @@ func New(cfg Config) *Service {
|
||||
AppSecret: cfg.AppSecret,
|
||||
Token: cfg.Token,
|
||||
EncodingAESKey: cfg.EncodingAESKey,
|
||||
Cache: cache.NewMemory(),
|
||||
Cache: cfg.Cache,
|
||||
}
|
||||
|
||||
account := wc.GetOfficialAccount(wcCfg)
|
||||
|
Loading…
Reference in New Issue
Block a user