File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
projects/fusio-sdk/src/lib Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export class LoginComponent implements OnInit {
33
33
}
34
34
35
35
async ngOnInit ( ) : Promise < void > {
36
- this . identity = await this . consumer . getClientAnonymous ( ) . identity ( ) . getAll ( ) ;
36
+ this . identity = await this . consumer . getClientAnonymous ( ) . identity ( ) . getAll ( this . config . getAppId ( ) ) ;
37
37
this . logo = this . config . getLogo ( ) ;
38
38
this . title = this . logo === undefined ;
39
39
}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import {Message} from "fusio-sdk/dist/src/generated/consumer/Message";
6
6
export interface Config {
7
7
baseUrl : string ,
8
8
logo ?: string ,
9
+ appId ?: number ,
9
10
homePath ?: string ,
10
11
loginPath ?: string ,
11
12
paymentProvider ?: string ,
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ export class ConfigService {
20
20
return this . config . logo ;
21
21
}
22
22
23
+ public getAppId ( ) : number | undefined {
24
+ return this . config . appId ;
25
+ }
26
+
23
27
public getHomePath ( ) : string {
24
28
if ( this . config . homePath ) {
25
29
return this . config . homePath ;
You can’t perform that action at this time.
0 commit comments