1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 10:22:39 +01:00

revert release url being nullable, we dont need it

This commit is contained in:
Puyodead1 2023-12-20 03:01:40 -05:00
parent d3d828f41d
commit 87def2856e
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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.