Skip to content

Commit 431ef1e

Browse files
fix trigger
Co-authored-by: Copilot <[email protected]>
1 parent ddc46f1 commit 431ef1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/subgraph/trigger_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ where
328328
deployment
329329
} else {
330330
// Fallback: create a synthetic deployment hash from data source
331-
let data_source_name = triggers[0].host.data_source().name();
331+
let data_source_name = triggers.first().unwrap().host.data_source().name();
332332
DeploymentHash::new(data_source_name)
333333
.unwrap_or_else(|_| DeploymentHash::new("unknown").unwrap())
334334
};

0 commit comments

Comments
 (0)