File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
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}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const useUsersStore = defineStore('users', () => {
1111
1212 // Users を取得する
1313 const refetch = async ( ) => {
14- const res = await getUsersApi . refetch ( )
14+ const res = await getUsersApi . refetch ( false )
1515 if ( res ?. type === 'success' ) {
1616 users . value = new Map ( res . data . map ( u => [ u . id , u ] ) )
1717 }
You can’t perform that action at this time.
0 commit comments