chore: remove faulty cache revalidation tags

This commit is contained in:
Arvid Norlin
2024-04-25 14:49:37 +02:00
parent 2ddcbff009
commit 4d4d67ab38

View File

@@ -14,16 +14,10 @@ export const accountPageQueryRouter = router({
.query(async ({ input }) => {
try {
const url = "/my-pages/overview"
const response = await request<GetAccountPageData>(
GetAccountPage,
{
locale: input.lang,
url,
},
{
tags: [`${url}-${input.lang}`],
}
)
const response = await request<GetAccountPageData>(GetAccountPage, {
locale: input.lang,
url,
})
if (!response.data) {
throw badRequestError()
@@ -49,16 +43,10 @@ export const accountPageQueryRouter = router({
.query(async ({ input }) => {
try {
const url = "/my-pages/benefits"
const response = await request<GetAccountPageData>(
GetAccountPage,
{
locale: input.lang,
url,
},
{
tags: [`${url}-${input.lang}`],
}
)
const response = await request<GetAccountPageData>(GetAccountPage, {
locale: input.lang,
url,
})
if (!response.data) {
throw badRequestError()