Skip to content

Commit f459c95

Browse files
committed
Add email address to the user
1 parent 3ee8081 commit f459c95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/server/src/workspace/gitpod-server-impl.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3328,7 +3328,8 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
33283328

33293329
async getIDEOptions(ctx: TraceContext): Promise<IDEOptions> {
33303330
const user = this.checkUser("identifyUser");
3331-
const ideConfig = await this.ideService.getIDEConfig({ user });
3331+
const email = User.getPrimaryEmail(user);
3332+
const ideConfig = await this.ideService.getIDEConfig({ ...user, email });
33323333
return ideConfig.ideOptions;
33333334
}
33343335

0 commit comments

Comments
 (0)