MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / getPostObject

Function getPostObject

src/Data/PostData.js:85–92  ·  view source on GitHub ↗
(postId)

Source from the content-addressed store, hash-verified

83 contentId: contentId.toString()
84 };
85
86 await requestSuccessfulMutation(TOGGLE_LIKE_API, requestBody, 'toggling content like');
87}
88
89/**
90 * Remove a post or a comment.
91 */
92export async function removeContent(contentId) {
93 const requestBody = {
94 contentId: contentId.toString()
95 };

Callers 1

loaderFunction · 0.90

Calls 1

getPostFunction · 0.85

Tested by

no test coverage detected