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

Function apply

api/orgs.py:563–564  ·  view source on GitHub ↗
(rec)

Source from the content-addressed store, hash-verified

561 raise HTTPException(status_code=404, detail=f"No org record for {org_id}")
562
563 def apply(rec):
564 rec["monthly_credits"] = body.monthly_credits
565
566 updated = await r2_store.update_json(r2_store.org_key(org_id), apply)
567 await invalidate_org_limit(org_id)

Callers 1

build.gradle.ktsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected