fix: proper cache keys for refs
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
router,
|
||||
} from "@/server/trpc"
|
||||
|
||||
import { generateTag } from "@/utils/generateTag"
|
||||
import { generateRefsResponseTag } from "@/utils/generateTag"
|
||||
|
||||
import { getCityPagesInput } from "./input"
|
||||
import {
|
||||
@@ -51,7 +51,7 @@ export const destinationCountryPageQueryRouter = router({
|
||||
GetDestinationCountryPageRefs,
|
||||
{ locale: lang, uid },
|
||||
{
|
||||
key: generateTag(lang, uid),
|
||||
key: generateRefsResponseTag(lang, uid),
|
||||
ttl: "max",
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user