MCPcopy Create free account
hub / github.com/Roy3838/Observer / admin_sync_org

Function admin_sync_org

api/orgs.py:574–576  ·  view source on GitHub ↗

Reconcile an org against Stripe by hand, for when a webhook was missed.

(org_id: str)

Source from the content-addressed store, hash-verified

572
573@orgs_router.post("/admin/orgs/{org_id}/sync", dependencies=[Depends(get_admin_access)], summary="Force a Stripe resync")
574async def admin_sync_org(org_id: str):
575 """Reconcile an org against Stripe by hand, for when a webhook was missed."""
576 return await sync_org_from_stripe(org_id)
577
578
579@orgs_router.post("/admin/orgs/{org_id}/members", dependencies=[Depends(get_admin_access)], summary="Invite a member as admin")

Callers

nothing calls this directly

Calls 1

sync_org_from_stripeFunction · 0.85

Tested by

no test coverage detected