This repository was archived by the owner on Nov 20, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const BASE = "https://danke.moe"
55
66export const DankeFursInfo : SourceInfo = {
77 icon : "icon.png" ,
8- version : "1.1.1 " ,
8+ version : "1.1.2 " ,
99 name : "DankeFurs" ,
1010 author : "PythonCoderAS" ,
1111 authorWebsite : "https://github.com/PythonCoderAS" ,
Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ export abstract class GuyaTemplate extends Source {
162162 const data = await this . requestManager . schedule ( request , 1 )
163163
164164 let result : { [ key : string ] : { [ name : string ] : any } } = typeof data . data === "string" ? JSON . parse ( data . data ) : data . data
165- let result2 = [ ... ( Object . values ( result ) ) ] ;
165+ let result2 = Object . entries ( result ) ;
166166 result2 . sort ( ( a , b ) => {
167- return b [ "last_updated" ] - a [ "last_updated" ] ;
167+ return b [ 1 ] [ "last_updated" ] - a [ 1 ] [ "last_updated" ] ;
168168 } )
169169
170170 let mangas = [ ]
@@ -181,8 +181,9 @@ export abstract class GuyaTemplate extends Source {
181181 homeSection . items = mangas
182182
183183 let mangas2 = [ ]
184- for ( let series in result2 ) {
185- let seriesDetails = result2 [ series ]
184+ for ( let i : number = 0 ; i < result2 . length ; i ++ ) {
185+ let series = result2 [ i ] [ 0 ]
186+ let seriesDetails = result2 [ i ] [ 1 ]
186187 mangas2 . push (
187188 createMangaTile ( {
188189 id : seriesDetails [ "slug" ] ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const BASE = "https://hachirumi.com"
55
66export const HachirumiInfo : SourceInfo = {
77 icon : "icon.png" ,
8- version : "1.0.1 " ,
8+ version : "1.0.2 " ,
99 name : "Hachirumi" ,
1010 author : "PythonCoderAS" ,
1111 authorWebsite : "https://github.com/PythonCoderAS" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const BASE = "https://mahoushoujobu.com"
55
66export const MahouShoujoBuInfo : SourceInfo = {
77 icon : "icon.png" ,
8- version : "1.0.4 " ,
8+ version : "1.0.5 " ,
99 name : "MahouShoujoBu" ,
1010 author : "PythonCoderAS" ,
1111 authorWebsite : "https://github.com/PythonCoderAS" ,
You can’t perform that action at this time.
0 commit comments