Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import store from 'new-dashboard/store';
|
||||
|
||||
export default function fetchOAuthApps (to, from, next) {
|
||||
store.dispatch('oAuthApps/fetch', {
|
||||
baseUrl: store.state.user.base_url,
|
||||
userId: store.state.user.id,
|
||||
apiKey: store.state.user.api_key
|
||||
});
|
||||
next();
|
||||
}
|
||||
Reference in New Issue
Block a user