Fix problems after rebase, move RoleController to Api\Application

This commit is contained in:
Matthew Penner 2020-12-27 21:57:31 -07:00
parent 333c9312d4
commit 7369167e28
8 changed files with 109 additions and 90 deletions

View file

@ -8,7 +8,7 @@ export interface Role {
export default (): Promise<Role[]> => {
return new Promise((resolve, reject) => {
http.get('/admin/roles')
http.get('/api/application/roles')
.then(({ data }) => resolve(data || []))
.catch(reject);
});