Skip to content
Snippets Groups Projects
Unverified Commit fc1987b8 authored by Joas Schilling's avatar Joas Schilling Committed by Roeland Jago Douma
Browse files

Revert displayName casing


Regression from 278c281c

Signed-off-by: default avatarJoas Schilling <coding@schilljs.com>
Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 9d66e91f
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
const rawUid = document const rawUid = document
.getElementsByTagName('head')[0] .getElementsByTagName('head')[0]
.getAttribute('data-user') .getAttribute('data-user')
const displayname = document const displayName = document
.getElementsByTagName('head')[0] .getElementsByTagName('head')[0]
.getAttribute('data-user-displayname') .getAttribute('data-user-displayname')
...@@ -31,6 +31,6 @@ export const currentUser = rawUid !== undefined ? rawUid : false ...@@ -31,6 +31,6 @@ export const currentUser = rawUid !== undefined ? rawUid : false
export const getCurrentUser = () => { export const getCurrentUser = () => {
return { return {
uid: currentUser, uid: currentUser,
displayname, displayName,
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment