The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Remove id from payload in update from meta store
Joshen Lim141d05623962
diff --git a/studio/stores/common/PostgresMetaInterface.ts b/studio/stores/common/PostgresMetaInterface.tsindex 07445b75e46..09f605b5acc 100644--- a/studio/stores/common/PostgresMetaInterface.ts+++ b/studio/stores/common/PostgresMetaInterface.ts@@ -200,10 +200,9 @@ export default class PostgresMetaInterface<T> implements IPostgresMetaInterface<}}- async update(id: number | string, updates: any) {+ async update(id: number | string, payload: any) {try {const headers = { 'Content-Type': 'application/json', ...this.headers }- let payload = { ...updates, id }const url = `${this.url}?id=${id}`const response = await patch<T>(url, payload, { headers })if (response.error) throw response.error