Skip to content

Commit

Permalink
UPDATE: added revalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
anisharaz committed Aug 15, 2024
1 parent b504000 commit b62e221
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/action/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export async function createblink({
});
revalidatePath("/dashboard");
revalidatePath("/api");
revalidatePath("/viewblink");
return {
success: true,
message: "",
Expand Down Expand Up @@ -76,6 +77,7 @@ export async function addBlinkData({
});
revalidatePath("/dashboard");
revalidatePath("/api");
revalidatePath("/viewblink");
return {
success: true,
message: "",
Expand Down

0 comments on commit b62e221

Please sign in to comment.