some initial API refactoring
This commit is contained in:
parent
bd9fcf619d
commit
4a59c42395
20 changed files with 1368 additions and 1567 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
uniq,
|
||||
} from 'lodash'
|
||||
|
||||
import apiService from '../services/api/api.service.js'
|
||||
import { register } from '../services/api/api.service.js'
|
||||
import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'
|
||||
import oauthApi from '../services/new_api/oauth.js'
|
||||
import {
|
||||
|
|
@ -624,7 +624,7 @@ const users = {
|
|||
|
||||
try {
|
||||
const token = await oauthStore.ensureAppToken()
|
||||
const data = await apiService.register({
|
||||
const data = await register({
|
||||
credentials: token,
|
||||
params: { ...userInfo },
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue