mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 13:11:16 -05:00
Update documentation references
Update remaining documentation files to remove references to the old approval flow and feature flags.
This commit is contained in:
@@ -29,7 +29,7 @@ sequenceDiagram
|
||||
Note over UI: Moderator clicks "Approve"
|
||||
|
||||
UI->>Edge: POST /process-selective-approval
|
||||
Note over Edge: Edge function starts
|
||||
Note over Edge: Atomic transaction RPC starts
|
||||
|
||||
Edge->>Session: SET app.current_user_id = submitter_id
|
||||
Edge->>Session: SET app.submission_id = submission_id
|
||||
@@ -92,9 +92,9 @@ INSERT INTO park_submissions (
|
||||
VALUES (...);
|
||||
```
|
||||
|
||||
### 3. Edge Function (process-selective-approval)
|
||||
### 3. Edge Function (process-selective-approval - Atomic Transaction RPC)
|
||||
|
||||
Moderator approves submission, edge function orchestrates:
|
||||
Moderator approves submission, edge function orchestrates with atomic PostgreSQL transactions:
|
||||
|
||||
```typescript
|
||||
// supabase/functions/process-selective-approval/index.ts
|
||||
|
||||
Reference in New Issue
Block a user