File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export class Role {
4
4
}
5
5
6
6
public static user(id: string): string {
7
- return `user:$id `
7
+ return `user:${id} `
8
8
}
9
9
10
10
public static users(): string {
@@ -17,12 +17,12 @@ export class Role {
17
17
18
18
public static team(id: string, role: string = ''): string {
19
19
if(role === '') {
20
- return `team:$id `
20
+ return `team:${id} `
21
21
}
22
- return `team:$id/$ role`
22
+ return `team:${id}/${ role} `
23
23
}
24
24
25
25
public static status(status: string): string {
26
- return `status:$status) `
26
+ return `status:${ status} `
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export class Role {
4
4
}
5
5
6
6
public static user(id: string): string {
7
- return `user:$id `
7
+ return `user:${id} `
8
8
}
9
9
10
10
public static users(): string {
@@ -17,12 +17,12 @@ export class Role {
17
17
18
18
public static team(id: string, role: string = ''): string {
19
19
if(role === '') {
20
- return `team:$id `
20
+ return `team:${id} `
21
21
}
22
- return `team:$id/$ role`
22
+ return `team:${id}/${ role} `
23
23
}
24
24
25
25
public static status(status: string): string {
26
- return `status:$status) `
26
+ return `status:${ status} `
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments