1
0
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:
George Tourkas 2021-04-15 11:43:19 +03:00 committed by GitHub
parent 51184dc768
commit 2b791ae0ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)