Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f619214f0 |
@@ -7,7 +7,7 @@ let app: AppWithContext;
|
|||||||
let employeeCookie = "";
|
let employeeCookie = "";
|
||||||
|
|
||||||
function firstHeader(value: string | string[] | undefined) {
|
function firstHeader(value: string | string[] | undefined) {
|
||||||
return Array.isArray(value) ? value[0] : value ?? "";
|
return Array.isArray(value) ? (value[0] ?? "") : value ?? "";
|
||||||
}
|
}
|
||||||
|
|
||||||
async function login(username: string) {
|
async function login(username: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user