misc_pterodactyl-panel/resources/scripts/api/server/setSelectedDockerImage.ts

6 lines
204 B
TypeScript
Raw Permalink Normal View History

import http from '@/api/http';
export default async (uuid: string, image: string): Promise<void> => {
await http.put(`/api/client/servers/${uuid}/settings/docker-image`, { docker_image: image });
};