ghostguild-org/server/api/admin/members/[id]
Jennie Robinson Faber 0981596ea2 feat(admin): PATCH /api/admin/members/:id/slack-status
Endpoint that flips a member's slackInvited flag manually after the
admin has actually sent the Slack invitation through Slack's UI. No
Slack API call is made from this app.

- Body validated via Zod literal-true schema (no undo path for the
  pilot — admins correct mistakes in the database if needed).
- Idempotent: re-marking an already-invited member is a no-op,
  preserving the original slackInvitedAt and not duplicating the
  activity log entry.
- Activity log: slack_invited_manually, actor = admin from
  requireAdmin, subject = the target member.
2026-04-29 12:23:07 +01:00
..
activity.get.js Tests, UX improvements. 2026-04-05 14:25:29 +01:00
role.patch.js Tests, UX improvements. 2026-04-05 14:25:29 +01:00
slack-status.patch.js feat(admin): PATCH /api/admin/members/:id/slack-status 2026-04-29 12:23:07 +01:00