mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-11 21:45:53 +01:00
Merge changes
This commit is contained in:
parent
78338205a3
commit
edd1751b81
@ -55,7 +55,7 @@ export default function TestConsole() {
|
|||||||
<PageHeader>
|
<PageHeader>
|
||||||
<div>Test Console</div>
|
<div>Test Console</div>
|
||||||
<DropDown
|
<DropDown
|
||||||
value={selectedValue || 'Select website'}
|
value={selectedValue || 'Select websites'}
|
||||||
options={options}
|
options={options}
|
||||||
onChange={handleSelect}
|
onChange={handleSelect}
|
||||||
/>
|
/>
|
||||||
|
@ -31,7 +31,7 @@ export async function getSession(req) {
|
|||||||
|
|
||||||
let websiteId = null;
|
let websiteId = null;
|
||||||
|
|
||||||
// Check if website exists
|
// Check if websites exists
|
||||||
if (redis.enabled) {
|
if (redis.enabled) {
|
||||||
websiteId = Number(await redis.get(`website:${websiteUuid}`));
|
websiteId = Number(await redis.get(`website:${websiteUuid}`));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user