mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-04 22:43:25 +08:00
Update default value
This commit is contained in:
5
db.ts
5
db.ts
@@ -766,7 +766,10 @@ export class EhDb {
|
||||
[gid],
|
||||
)[0][0];
|
||||
}
|
||||
get_random_file(is_nsfw: boolean | null, is_ad: boolean | null) {
|
||||
get_random_file(
|
||||
is_nsfw: boolean | null = null,
|
||||
is_ad: boolean | null = null,
|
||||
) {
|
||||
if (is_nsfw === null && is_ad === null) {
|
||||
const s = this.convert_file(
|
||||
this.db.queryEntries<EhFileRaw>(
|
||||
|
||||
Reference in New Issue
Block a user