|
@@ -41,7 +41,7 @@ export const deleteExample = (props: Pick<Example, 'caseId'>) =>
|
|
|
axios.post<undefined>(DELETE_EXAMPLE, props)
|
|
|
|
|
|
export const getExampleScenes = async (props: Pick<Example, 'caseId'>) => {
|
|
|
- const scenes = await axios.post(EXAMPLE_SCENE_LIST, props)
|
|
|
+ const scenes = await axios.get(EXAMPLE_SCENE_LIST, { params: props })
|
|
|
return scenes.map((scene: any) => {
|
|
|
if (scene.type === SceneType.SWMX) {
|
|
|
return {
|