mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-13 03:32:13 +00:00
feat: removing unique from download source name
This commit is contained in:
parent
3aa20aa7d9
commit
8fccbb6d81
2 changed files with 1 additions and 3 deletions
|
@ -16,7 +16,7 @@ export class DownloadSource {
|
|||
@Column("text", { nullable: true, unique: true })
|
||||
url: string;
|
||||
|
||||
@Column("text", { unique: true })
|
||||
@Column("text")
|
||||
name: string;
|
||||
|
||||
@OneToMany(() => Repack, (repack) => repack.downloadSource, { cascade: true })
|
||||
|
|
|
@ -24,8 +24,6 @@ const validateDownloadSource = async (
|
|||
name: "list",
|
||||
})) as GameRepack[];
|
||||
|
||||
console.log(repacks);
|
||||
|
||||
const existingUris = source.downloads
|
||||
.flatMap((download) => download.uris)
|
||||
.filter((uri) => repacks.some((repack) => repack.magnet === uri));
|
||||
|
|
Loading…
Reference in a new issue