Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Commit e6e00ba

Browse files
committed
Fix
1 parent 6e9d206 commit e6e00ba

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

‎src/DankeFurs/DankeFurs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const BASE = "https://danke.moe"
55

66
export 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",

‎src/GuyaTemplate.ts

+5-4
Original file line numberDiff line numberDiff 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"],

‎src/Hachirumi/Hachirumi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const BASE = "https://hachirumi.com"
55

66
export 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",

‎src/MahouShoujoBu/MahouShoujoBu.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const BASE = "https://mahoushoujobu.com"
55

66
export 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",

0 commit comments

Comments
 (0)