Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: update: react-query template filename

Alaister Young482027326999
diff --git a/studio/data/__templates/README.md b/studio/data/__templates/README.md
index 70febd8df66..05a0cabfb4f 100644
--- a/studio/data/__templates/README.md
+++ b/studio/data/__templates/README.md
@@ -27,7 +27,7 @@ For queries that return a list of results.
For getting a single item based on parameter(s). `id` is used in this example but can be updated to whatever is needed.
-### `resource-update.ts`
+### `resource-update-mutation.ts`
For updating a resource. This can easily be adapted to work for create, delete, or any verb that is needed. You may need to modify the `invalidateQueries` section depending on your use case. For example removing:
diff --git a/studio/data/__templates/resource-update.ts b/studio/data/__templates/resource-update-mutation.ts
similarity index 100%
rename from studio/data/__templates/resource-update.ts
rename to studio/data/__templates/resource-update-mutation.ts