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

Function activate

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

Source from the content-addressed store, hash-verified

260
261 if result["status"] == "active":
262 def activate(rec):
263 m = _find_member(rec, email)
264 if m:
265 m["status"] = "active"
266 m["auth0_user_id"] = result["auth0_user_id"]
267 m["joined_at"] = _now_iso()
268 await r2_store.update_json(r2_store.org_key(org_id), activate)
269
270 return result

Callers

nothing calls this directly

Calls 2

_find_memberFunction · 0.85
_now_isoFunction · 0.85

Tested by

no test coverage detected