diff --git a/sources/get_list_source.go b/sources/get_list_source.go index 3930ad43..74acf261 100644 --- a/sources/get_list_source.go +++ b/sources/get_list_source.go @@ -167,7 +167,7 @@ func (s *GetListSource[AWSItem, ClientStruct, Options]) Get(ctx context.Context, } } - s.cache.StoreItem(item, s.CacheDuration, ck) + s.cache.StoreItem(item, s.cacheDuration(), ck) return item, nil }