mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-11 00:24:51 -04:00
Fix cache tag
This commit is contained in:
@@ -9,7 +9,7 @@ export async function GET(
|
||||
const params = await context.params;
|
||||
const { id } = params;
|
||||
|
||||
const cacheStrategy = { swr: 3600, ttl: 3600, tags: ["profiles/[id]"] };
|
||||
const cacheStrategy = { swr: 3600, ttl: 3600, tags: ["profiles_id"] };
|
||||
const user = await prisma.user.findUnique({
|
||||
where: { id },
|
||||
select: {
|
||||
|
||||
Reference in New Issue
Block a user