feat: Enhacing caching and more ... #1

Merged
Rev merged 10 commits from :master into master 2021-10-12 22:05:16 -04:00
Showing only changes of commit 1dc4a5e74d - Show all commits

View File

@ -48,7 +48,6 @@ class ItemsCollection
$customization_locale= collect($current_locale_json['customization']); $customization_locale= collect($current_locale_json['customization']);
$this->locales = $this->locales->merge([$trimmed_current_locale_name => $template_locale->concat($customization_locale)]); $this->locales = $this->locales->merge([$trimmed_current_locale_name => $template_locale->concat($customization_locale)]);
} }
file_put_contents("G:\spt-items-api\storage\data.json", $this->locales['en']);
Cache::put($this->locales_cache_key, $this->locales); Cache::put($this->locales_cache_key, $this->locales);
} }