Fix back-end paths called by Vue front-end

This commit is contained in:
Bubka
2022-03-24 15:03:45 +01:00
parent d016507592
commit 4fcfcc6797
5 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@
async generatePAToken() {
const { data } = await this.form.post('/api/v1/oauth/personal-access-tokens')
const { data } = await this.form.post('/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 } });