4 lines
190 B
TypeScript
4 lines
190 B
TypeScript
import http from '@/api/http';
|
|
|
|
export default async (server: string, schedule: number): Promise<void> =>
|
|
await http.post(`/api/client/servers/${server}/schedules/${schedule}/execute`);
|