mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 04:15:25 -05:00
Don't Sanitize Undefined Team Notices (#1725)
Don't Sanitize Undefined Team Notices GitOrigin-RevId: 540316d71bc4047d25100bb0ef524d5d2adba0b1
This commit is contained in:
parent
6232854ff7
commit
e2793f659c
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ module.exports =
|
||||||
}
|
}
|
||||||
|
|
||||||
for memberGroupSubscription in memberGroupSubscriptions
|
for memberGroupSubscription in memberGroupSubscriptions
|
||||||
memberGroupSubscription.teamNotice = sanitizeHtml(memberGroupSubscription.teamNotice)
|
if memberGroupSubscription.teamNotice
|
||||||
|
memberGroupSubscription.teamNotice = sanitizeHtml(memberGroupSubscription.teamNotice)
|
||||||
|
|
||||||
callback null, {
|
callback null, {
|
||||||
personalSubscription,
|
personalSubscription,
|
||||||
|
|
Loading…
Reference in a new issue