0
Fork 0
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:
Kevin Ansfield 2022-12-05 17:17:47 +00:00
parent 0e181c84b2
commit 1685a84a27

View file

@ -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
});
});
});