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

Function fetchAd

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

Source from the content-addressed store, hash-verified

129};
130
131export const fetchAd = async (params: URLSearchParams): Promise<Ad | null> =>
132 fetchAdRequest({ path: '/v1/a', params });
133
134export const fetchCommentAd = async (): Promise<Ad | null> => {
135 return fetchAdByPlacement({

Callers 2

useFeedFunction · 0.85
useAutoRotatingAdsFunction · 0.85

Calls 1

fetchAdRequestFunction · 0.85

Tested by

no test coverage detected