Skip to content

Commit 67639f1

Browse files
committed
fix seed script
1 parent ee38648 commit 67639f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/db-user/src/init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ pub async fn seed(db: &UserDatabase, user_id: impl Into<String>) -> Result<(), c
338338

339339
// Get IDs of specific events for linking sessions
340340
let daily_standup_event_id = events[0].id.clone(); // Assumes Daily Standup is the first event
341-
let past_kickoff_event_id = events[4].id.clone(); // Assumes Project Kickoff (Past) is the 5th event
341+
let past_kickoff_event_id = events[1].id.clone(); // Project Kickoff (Past) event
342342

343343
let sessions = vec![
344344
// --- Sessions for NotesList --- (Sorted by created_at desc in UI group)
@@ -414,7 +414,7 @@ pub async fn seed(db: &UserDatabase, user_id: impl Into<String>) -> Result<(), c
414414
title: "Q3 Strategy Notes".to_string(),
415415
created_at: now - chrono::Duration::days(65),
416416
visited_at: now - chrono::Duration::days(65),
417-
calendar_event_id: Some(events[5].id.clone()), // Link to Q3 Strategy Meeting event
417+
calendar_event_id: Some(events[2].id.clone()), // Q3 Strategy Meeting event
418418
raw_memo_html: hypr_buffer::opinionated_md_to_html("Focus on growth metrics.").unwrap(),
419419
..new_default_session(&user.id)
420420
},

0 commit comments

Comments
 (0)