Skip to content
Snippets Groups Projects
Commit d583a6d3 authored by Torbjørn Antonsen's avatar Torbjørn Antonsen
Browse files

fixed pom.xml dependencies preventing bean creation and fixed app.vue to refresh token

parent 9f6d9c09
Branches
No related tags found
1 merge request!39minor fixes
Pipeline #269612 passed
...@@ -59,23 +59,13 @@ ...@@ -59,23 +59,13 @@
<artifactId>jjwt-jackson</artifactId> <artifactId>jjwt-jackson</artifactId>
<version>0.11.5</version> <version>0.11.5</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.5.0</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
......
...@@ -9,7 +9,6 @@ export default { ...@@ -9,7 +9,6 @@ export default {
components: { RouterLink, RouterView, Sidebar }, components: { RouterLink, RouterView, Sidebar },
setup() { setup() {
let intervalId = null; let intervalId = null;
return {sidebarWidth}
// Start interval for token refresh // Start interval for token refresh
const startInterval = () => { const startInterval = () => {
...@@ -46,6 +45,7 @@ export default { ...@@ -46,6 +45,7 @@ export default {
} catch (error) { } catch (error) {
console.error("Error refreshing token: ", error); console.error("Error refreshing token: ", error);
} }
return {sidebarWidth}
}; };
// Lifecycle hooks // Lifecycle hooks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment