mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed incorrect property access
refs 0e181c84b2
- the code is already running in the `session` service so it shouldn't access the role property via a non-existing injection
This commit is contained in:
parent
0e181c84b2
commit
1685a84a27
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export default class SessionService extends ESASessionService {
|
|||
resolve({
|
||||
...event,
|
||||
release: `ghost@${this.config.version}`,
|
||||
'user.role': this.session.user.role.name
|
||||
'user.role': this.user.role.name
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue