Skip to content

Commit

Permalink
post thing
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 29, 2023
1 parent fbfea5c commit 80e585a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions apps/builddao/widget/Compose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ const postToCustomFeed = ({ feed, text, labels }) => {
if (!labels) labels = [];
return Social.set(
{
// update: {
// [postId]: {
// "": JSON.stringify({
// type: "md",
// text,
// labels,
// }),
// metadata: {
// type: feed,
// tags: tagsFromLabels(labels),
// },
// },
// },
update: {
[postId]: {
"": JSON.stringify({
type: "md",
text,
labels,
}),
metadata: {
type: feed.name,
tags: tagsFromLabels(labels),
},
},
},
post: {
main: JSON.stringify({
type: "md",
text,
text: `[EMBED](${context.accountId}/${feed.name}/${postId})`,
}),
},
index: {
post: JSON.stringify({ key: "main", value: { type: "md" } }),
every: JSON.stringify({ key: feed, value: { type: "md" } }),
every: JSON.stringify({ key: feed.name, value: { type: "md" } }),
},
},
{
Expand Down

0 comments on commit 80e585a

Please sign in to comment.