Skip to content

Commit 3194a86

Browse files
Dan WahlinDan Wahlin
Dan Wahlin
authored and
Dan Wahlin
committed
Added onInit()
1 parent e245f01 commit 3194a86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public/app/core/data.service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ export class DataService {
1616
csrfToken: string = null;
1717

1818
constructor(private http: Http) {
19+
this.onInit();
20+
}
21+
22+
onInit() {
1923
this.getCsrfToken();
2024
}
2125

0 commit comments

Comments
 (0)