File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pages/Editions/Detail Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const patchEdition = useApi(apis.patchEdition)
1919getEdition .refetch (String (editionId .value ))
2020
2121const getEditionGames = useApi (apis .getEditionGames )
22- const postEditionGame = useApi (apis .postEditionGame )
22+ const patchEditionGame = useApi (apis .patchEditionGame )
2323getEditionGames .refetch (String (editionId .value ))
2424
2525const isShowPatchEditionModal = ref (false )
@@ -35,7 +35,7 @@ const handleCancelEdition = () => {
3535}
3636
3737const handleAddGame = async (data : PatchEditionGameRequest ) => {
38- await postEditionGame .refetch (String (editionId .value ), data )
38+ await patchEditionGame .refetch (String (editionId .value ), data )
3939 isShowAddGameModal .value = false
4040 getEditionGames .refetch (String (editionId .value ))
4141}
You can’t perform that action at this time.
0 commit comments