Set up paths & namespace to match versioned routes

This commit is contained in:
Bubka
2021-11-07 21:57:22 +01:00
parent 0f17d93152
commit 7efa86b232
47 changed files with 98 additions and 94 deletions

View File

@ -31,7 +31,7 @@
async generatePAToken() {
const { data } = await this.form.post('/api/oauth/personal-access-tokens')
const { data } = await this.form.post('/api/v1/oauth/personal-access-tokens')
if( this.form.errors.any() === false ) {
this.$router.push({ name: 'settings.oauth', params: { accessToken: data.accessToken, token_id: data.token.id } });