13 lines
303 B
TypeScript
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',
|
|
})
|
|
}
|