Skip to content

Commit 41beac7

Browse files
committed
fixed userProfile
1 parent ae1e573 commit 41beac7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

backend/gamelink/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spring.mustache.suffix=.html
1010

1111
spring.datasource.url=jdbc:postgresql://localhost:5432/gamelink
1212
spring.datasource.username=postgres
13-
spring.datasource.password=Nekowa10
13+
spring.datasource.password=password
1414
spring.jpa.hibernate.ddl-auto=create-drop
1515

1616
logging.level.org.springframework.security=DEBUG

backend/gamelink/target/classes/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spring.mustache.suffix=.html
1010

1111
spring.datasource.url=jdbc:postgresql://localhost:5432/gamelink
1212
spring.datasource.username=postgres
13-
spring.datasource.password=Nekowa10
13+
spring.datasource.password=password
1414
spring.jpa.hibernate.ddl-auto=create-drop
1515

1616
logging.level.org.springframework.security=DEBUG

frontend/src/app/components/user/userProfile.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class UserProfile {
2828
);
2929
}
3030
useroService.getVideogames(this.user).subscribe(
31-
(videogame: Videogame[]) => videogame = videogame,
31+
(videogame) => this.videogame = videogame as Videogame[],
3232
(error: any) => console.error(error)
3333
);
3434
}

0 commit comments

Comments
 (0)