MCPcopy Create free account
hub / github.com/dailydotdev/apps / getSourceCategory

Function getSourceCategory

packages/shared/src/graphql/source/categories.ts:19–27  ·  view source on GitHub ↗
(
  id: string,
)

Source from the content-addressed store, hash-verified

17}
18
19export const getSourceCategory = async (
20 id: string,
21): Promise<SourceCategory> => {
22 const res = await gqlClient.request(SOURCE_CATEGORY_QUERY, {
23 id,
24 });
25
26 return res.sourceCategory;
27};

Callers 1

getServerSidePropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected