diff options
Diffstat (limited to 'lib/vendor-investigation')
| -rw-r--r-- | lib/vendor-investigation/service.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vendor-investigation/service.ts b/lib/vendor-investigation/service.ts index c5097e75..9395a5de 100644 --- a/lib/vendor-investigation/service.ts +++ b/lib/vendor-investigation/service.ts @@ -104,7 +104,7 @@ export async function getVendorsInvestigation(input: GetVendorsInvestigationSche [JSON.stringify(input)], { revalidate: 3600, - tags: ["vendors-in-investigation"], + tags: ["vendor-investigations"], } )() } @@ -307,7 +307,7 @@ export async function updateVendorInvestigationAction(formData: FormData) { .where(eq(vendorInvestigations.id, parsed.investigationId)) // 6) 캐시 무효화 - revalidateTag("vendors-in-investigation") + revalidateTag("vendor-investigations") revalidateTag("pq-submissions") revalidateTag("vendor-pq-submissions") revalidatePath("/evcp/pq_new") @@ -357,7 +357,7 @@ export async function deleteInvestigationAttachment(attachmentId: number) { .where(eq(vendorInvestigationAttachments.id, attachmentId)) // 캐시 무효화 - revalidateTag("vendors-in-investigation") + revalidateTag("vendor-investigations") return { success: true } } catch (error) { |
