summary refs log tree commit diff
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-12-20 03:07:37 -0500
committerPuyodead1 <puyodead@proton.me>2023-12-20 03:07:37 -0500
commit9b9d3c3493b17d84a477937997a1a2265ca3d970 (patch)
tree123610b5f843ada994198e8aa8e0bfc518202d96
parentrevert release url being nullable, we dont need it (diff)
downloadserver-dev/updater.tar.xz
-rw-r--r--assets/schemas.json7
-rw-r--r--src/util/entities/ClientRelease.ts4
2 files changed, 4 insertions, 7 deletions
diff --git a/assets/schemas.json b/assets/schemas.json

index fae08efb..20c25252 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -478218,11 +478218,8 @@ "type": "string" }, "url": { - "description": "The URL to the corresponding installer.\nOnly provided if auto updates are available for the selected platform.", - "type": [ - "null", - "string" - ] + "description": "The URL to the corresponding installer.", + "type": "string" }, "notes": { "description": "Any extra notes for the update\nOnly provided if auto updates are available for the selected platform.", diff --git a/src/util/entities/ClientRelease.ts b/src/util/entities/ClientRelease.ts
index 995c9492..305a89e5 100644 --- a/src/util/entities/ClientRelease.ts +++ b/src/util/entities/ClientRelease.ts
@@ -43,10 +43,10 @@ export class Release extends BaseClass { enabled: boolean; @Column({ nullable: true }) - notes: string | null; + notes?: string; @Column({ nullable: true }) - signature: string | null; + signature?: string; @Column({ default: "stable" }) channel: string;