MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / getPost

Function getPost

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

Source from the content-addressed store, hash-verified

79}
80
81export async function getPost(postId) {
82 return (await getPostThread(postId)).post;
83}
84
85export async function getPostObject(postId) {
86 const post = await getPost(postId);

Callers 1

getPostObjectFunction · 0.85

Calls 1

getPostThreadFunction · 0.85

Tested by

no test coverage detected