chore: remove faulty cache revalidation tags
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user