northbase 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/northbase.mjs +1 -1
package/package.json
CHANGED
package/src/northbase.mjs
CHANGED
|
@@ -236,7 +236,7 @@ async function putFile(rel, content) {
|
|
|
236
236
|
|
|
237
237
|
const { error } = await supabase
|
|
238
238
|
.from("files")
|
|
239
|
-
.upsert({ path: relSafe, content }, { onConflict: "path" });
|
|
239
|
+
.upsert({ path: relSafe, content }, { onConflict: "owner_id,path" });
|
|
240
240
|
if (error) throw error;
|
|
241
241
|
|
|
242
242
|
const updated_at = await fetchRemoteUpdatedAt(supabase, relSafe);
|