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

Function queryShortUrl

packages/shared/src/hooks/utils/useGetShortUrl.ts:56–59  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

54 );
55
56 const queryShortUrl = async (url: string) => {
57 const res = await gqlClient.request(GET_SHORT_URL_QUERY, { url });
58 return res.getShortUrl;
59 };
60
61 const getShortUrl = useCallback(
62 async (url: string, cid?: ReferralCampaignKey) => {

Callers 1

useGetShortUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected