Skip to content

Commit

Permalink
🔥 : remove index.js from shared api and services
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit authored and cdubuisson committed Apr 9, 2020
1 parent 03d58c2 commit 410503b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/main/client/app/pages/login/login-oauth-signin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</template>

<script>
import { listProviders } from '@/shared/api';
import { listProviders } from '@/shared/api/authentication-api';
export default {
name: 'AppLoginOauthSignin',
Expand Down
2 changes: 1 addition & 1 deletion src/main/client/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
AppPageForbidden,
AppPageNotFound,
} from '@/shared/components';
import { authenticationGuard } from '@/shared/services';
import { authenticationGuard } from '@/shared/services/authentication-guard';

Vue.use(VueRouter);

Expand Down
8 changes: 0 additions & 8 deletions src/main/client/app/shared/api/index.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/client/app/shared/components/sidebar/side-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import {
getCookie,
setCookie,
} from '@/shared/services';
import { getBuildInfo } from '@/shared/api';
} from '@/shared/services/cookie-service';
import { getBuildInfo } from '@/shared/api/build-infos-api';
const SIDEBAR_COOKIE = 'sidebar_collapsed';
const SIDEBAR_MAX_AGE = 60 * 60 * 24 * 365 * 10;
Expand Down
12 changes: 0 additions & 12 deletions src/main/client/app/shared/services/index.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
doLogout,
getAuthorities,
getUser,
} from '@/shared/api';
} from '@/shared/api/authentication-api';

const sessionState = {
login: false,
Expand Down

0 comments on commit 410503b

Please sign in to comment.