Commit 7e6a4c0
authored
Fixup github-action-indexer example (#49)
Fix configuration and type issues in github-action-indexer example
This PR addresses three small but important issues in the github-action-indexer example:
* Add missing AUGMENT_API_URL environment variable to the GitHub Actions workflow, ensuring the indexer can connect to the correct API endpoint
* Fix incorrect property reference from this.config.apiKey to this.config.apiToken in the incremental update logic
* Remove readonly modifier from context property to allow reassignment when importing previous state during incremental updates
These fixes ensure the example works correctly for both full and incremental indexing scenarios.1 parent 20593b5 commit 7e6a4c0
File tree
2 files changed
+3
-2
lines changed- examples/typescript-sdk/context/github-action-indexer
- .github/workflows
- src
2 files changed
+3
-2
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
0 commit comments