mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
Merge branch 'master' into new-media-sub-types
This commit is contained in:
commit
e7b8822b82
@ -152,6 +152,7 @@ class AnimeIndexer extends Command
|
||||
);
|
||||
|
||||
$ids = array_merge($ids['sfw'], $ids['nsfw']);
|
||||
sort($ids, SORT_NUMERIC);
|
||||
Storage::put('indexer/anime_mal_id.json', json_encode($ids));
|
||||
|
||||
return json_decode(Storage::get('indexer/anime_mal_id.json'));
|
||||
|
@ -152,6 +152,7 @@ class MangaIndexer extends Command
|
||||
);
|
||||
|
||||
$ids = array_merge($ids['sfw'], $ids['nsfw']);
|
||||
sort($ids, SORT_NUMERIC);
|
||||
Storage::put('indexer/manga_mal_id.json', json_encode($ids));
|
||||
|
||||
return json_decode(Storage::get('indexer/manga_mal_id.json'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user