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

Function fetchAd

packages/shared/src/lib/ads.ts:172–173  ·  view source on GitHub ↗
(params: URLSearchParams)

Source from the content-addressed store, hash-verified

170};
171
172export const fetchAd = async (params: URLSearchParams): Promise<Ad | null> =>
173 fetchAdRequest({ path: '/v1/a', params });
174
175export const fetchCommentAd = async (): Promise<Ad | null> => {
176 return fetchAdByPlacement({

Callers 2

useFeedFunction · 0.85
useAutoRotatingAdsFunction · 0.85

Calls 1

fetchAdRequestFunction · 0.85

Tested by

no test coverage detected