MCPcopy Create free account
hub / github.com/gotify/server / deleteImage

Method deleteImage

ui/src/application/AppStore.ts:39–48  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

37 };
38
39 public async deleteImage(id: number): Promise<void> {
40 try {
41 await axios.delete(`${config.get('url')}application/${id}/image`);
42 await this.refresh();
43 this.snack('Application image deleted');
44 } catch (error) {
45 console.error('Error deleting application image:', error);
46 throw error;
47 }
48 }
49
50 @action
51 public reorder = async (fromId: number, toId: number): Promise<void> => {

Callers 1

Applications.tsxFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected