Skip to content

Commit f8c2314

Browse files
committed
ContentAccess rename
1 parent f154b6c commit f8c2314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/obsidian/src/utils/publishNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const publishNode = async ({
2727
const existingPublish =
2828
(frontmatter.publishedToGroups as undefined | string[]) || [];
2929
if (existingPublish.includes(myGroup)) return; // already published
30-
const publishResponse = await client.from("ContentAccess").insert({
30+
const publishResponse = await client.from("ResourceAccess").insert({
3131
/* eslint-disable @typescript-eslint/naming-convention */
3232
account_uid: myGroup,
3333
source_local_id: nodeId,

0 commit comments

Comments
 (0)