mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	chore: Remove Server Tasks (#3592)
This commit is contained in:
		| @@ -1,19 +0,0 @@ | ||||
| import { BaseAPI } from "../base/base-clients"; | ||||
| import { ServerTask } from "~/lib/api/types/server"; | ||||
| import { PaginationData } from "~/lib/api/types/non-generated"; | ||||
|  | ||||
| const prefix = "/api"; | ||||
|  | ||||
| const routes = { | ||||
|   base: `${prefix}/admin/server-tasks`, | ||||
| }; | ||||
|  | ||||
| export class AdminTaskAPI extends BaseAPI { | ||||
|   async testTask() { | ||||
|     return await this.requests.post<ServerTask>(`${routes.base}`, {}); | ||||
|   } | ||||
|  | ||||
|   async getAll() { | ||||
|     return await this.requests.get<PaginationData<ServerTask>>(routes.base); | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user