Skip to content

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

Updates the verbs for Create and Update

Paul Copplestone7d433d2711f4
diff --git a/web/docs/library/examples/patch.js b/web/docs/library/examples/patch.js
index 3741b4b6b95..a5602b47d01 100644
--- a/web/docs/library/examples/patch.js
+++ b/web/docs/library/examples/patch.js
@@ -31,7 +31,7 @@ const updateCityName = async () => {
export const patchNotJs = `
${importJs}
-const getCities = async () => {
+const updateCities = async () => {
try {
let cities = await supabase
.from('cities')
diff --git a/web/docs/library/examples/post.js b/web/docs/library/examples/post.js
index b2944a4f915..2c302ff4e38 100644
--- a/web/docs/library/examples/post.js
+++ b/web/docs/library/examples/post.js
@@ -7,7 +7,7 @@ import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-const getCities = async () => {
+const createCities = async () => {
try {
let cities = await supabase
.from('cities')