summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/util/entities/ClientRelease.ts4
-rw-r--r--src/util/schemas/responses/UpdatesResponse.ts3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/util/entities/ClientRelease.ts b/src/util/entities/ClientRelease.ts

index 776f882c..995c9492 100644 --- a/src/util/entities/ClientRelease.ts +++ b/src/util/entities/ClientRelease.ts
@@ -30,8 +30,8 @@ export class Release extends BaseClass { @Column() pub_date: Date; - @Column({ nullable: true }) - url: string | null; + @Column() + url: string; @Column() platform: string; diff --git a/src/util/schemas/responses/UpdatesResponse.ts b/src/util/schemas/responses/UpdatesResponse.ts
index 38076b1b..12baa5e1 100644 --- a/src/util/schemas/responses/UpdatesResponse.ts +++ b/src/util/schemas/responses/UpdatesResponse.ts
@@ -32,9 +32,8 @@ export interface UpdatesResponse { pub_date: string; /** * The URL to the corresponding installer. - * Only provided if auto updates are available for the selected platform. */ - url: string | null; + url: string; /** * Any extra notes for the update * Only provided if auto updates are available for the selected platform.