Remove Schem Download

This commit is contained in:
2024-01-06 16:39:52 +01:00
parent 926624542d
commit 0a0946e335
3 changed files with 1 additions and 15 deletions

View File

@@ -37,10 +37,6 @@ export class SchematicRepo {
return await fetchWithToken(this.token, `/schem/${id}`).then(value => value.json()).then(SchematicInfoSchema.parse);
}
public async createDownload(id: number): Promise<SchematicCode> {
return await fetchWithToken(this.token, `/schem/${id}/download`).then(value => value.json()).then(SchematicCodeSchema.parse);
}
public async uploadSchematic(name: string, content: string) {
return await fetchWithToken(this.token, "/schem", {
method: "POST",