feat: Enhacing caching and more ... #1
@ -48,7 +48,6 @@ class ItemsCollection
|
||||
$customization_locale= collect($current_locale_json['customization']);
|
||||
$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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user