Refactor: Rename timeline event to milestone

This commit is contained in:
gpt-engineer-app[bot]
2025-10-15 19:55:26 +00:00
parent 48693c2f58
commit 7f273a2082
3 changed files with 49 additions and 3 deletions

View File

@@ -940,7 +940,7 @@ export async function submitTimelineEvent(
.from('content_submissions')
.insert({
user_id: userId,
submission_type: 'timeline_event',
submission_type: 'milestone',
content,
status: 'pending',
approval_mode: 'full',
@@ -1030,7 +1030,7 @@ export async function submitTimelineEventUpdate(
.from('content_submissions')
.insert({
user_id: userId,
submission_type: 'timeline_event',
submission_type: 'milestone',
content,
status: 'pending',
approval_mode: 'full',