modify api path

This commit is contained in:
MaysWind
2020-11-17 22:21:59 +08:00
parent b7f471940a
commit c5c88c0034
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ export default {
});
},
revokeAllTokens: () => {
return axios.post('v1/tokens/revokeAll.json');
return axios.post('v1/tokens/revoke_all.json');
},
getProfile: () => {
return axios.get('v1/users/profile/get.json');