The backend has two separate endpoints:
POST /marketplace/admin/:id/approve
POST /marketplace/admin/:id/reject
Previously jarvisMarketplaceCertify always called /approve regardless of
the decision field — rejections would silently approve listings.
Fix: derive action from decision.decision ('approved' → 'approve', else 'reject')
and use the correct endpoint path.
|
||
|---|---|---|
| .. | ||
| extraction-service | ||
| mcp-server | ||
| monitoring | ||
| platform-service | ||