fix: handle null userInfo in manual token auth response

This commit is contained in:
Roo Code 2025-09-06 01:28:56 +00:00
parent 7284fd0b62
commit c75188bea6

View file

@ -2266,7 +2266,7 @@ export const webviewMessageHandler = async (
await provider.postStateToWebview()
provider.postMessageToWebview({
type: "authenticatedUser",
userInfo: CloudService.instance.getUserInfo(),
userInfo: CloudService.instance.getUserInfo() || undefined,
})
} catch (error) {
provider.log(