story-research-zapwall/lib/reviewAggregation.ts
2025-12-23 02:20:57 +01:00

13 lines
303 B
TypeScript

import { aggregateZapSats } from './zapAggregation'
export function getReviewTipsForArticle(params: {
authorPubkey: string
articleId: string
}): Promise<number> {
return aggregateZapSats({
authorPubkey: params.authorPubkey,
articleId: params.articleId,
kindType: 'review_tip',
})
}