From 9b9d3c3493b17d84a477937997a1a2265ca3d970 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Wed, 20 Dec 2023 03:07:37 -0500 Subject: fix --- assets/schemas.json | 7 ++----- src/util/entities/ClientRelease.ts | 4 ++-- 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; -- cgit 1.5.1