We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caee016 commit cf79b41Copy full SHA for cf79b41
1 file changed
layouts/partials/navbar.html
@@ -325,7 +325,7 @@
325
}
326
};
327
function getAvatarUrl(response) {
328
- const avatarUrl = response?.avatarUrl || response?.avatar_url;
+ const avatarUrl = response?.avatarUrl;
329
330
if (typeof avatarUrl === "string" && avatarUrl.trim()) {
331
return avatarUrl.trim();
@@ -335,7 +335,7 @@
335
336
337
function getUserProfileUrl(response) {
338
- const userId = response?.id ?? response?.userId ?? response?.user_id;
+ const userId = response?.id;
339
if (userId) {
340
return `${cloudAppUrl}/user/${encodeURIComponent(userId)}`;
341
0 commit comments