mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Merge branch 'dev' into feat/um-114-roles-and-permissions
This commit is contained in:
parent
3085bdd713
commit
ab9f403448
28 changed files with 345 additions and 412 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { User, Website } from '@prisma/client';
|
||||
import redis, { DELETED } from 'lib/redis';
|
||||
import redis from 'lib/redis';
|
||||
import { getSession, getUser, getWebsite } from '../queries';
|
||||
|
||||
async function fetchObject(key, query) {
|
||||
|
|
@ -23,7 +23,7 @@ async function storeObject(key, data) {
|
|||
}
|
||||
|
||||
async function deleteObject(key) {
|
||||
return redis.set(key, DELETED);
|
||||
return redis.set(key, redis.DELETED);
|
||||
}
|
||||
|
||||
async function fetchWebsite(id): Promise<Website> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue