bill %!s(int64=2) %!d(string=hai) anos
pai
achega
74c39ad643
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/example.ts

+ 1 - 1
src/api/example.ts

@@ -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 {