mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #25821 from overleaf/jdt-handle-no-prem-src
Handle cases where Writefull is not defined on a user on the subscription page GitOrigin-RevId: ef43da630b5194f6021ebfc52ca4cb473e674b23
This commit is contained in:
committed by
Copybot
parent
d6cd041704
commit
23e24627d5
@@ -146,7 +146,7 @@ async function getWritefullData(userId) {
|
||||
}
|
||||
return {
|
||||
isPremium: Boolean(user?.writefull?.isPremium),
|
||||
premiumSource: user.writefull.premiumSource || null,
|
||||
premiumSource: user?.writefull?.premiumSource || null,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user