* Find existing issue for an entry (returns null if not found)
(collectionName: string, slug: string)
| 1644 | * Find existing issue for an entry (returns null if not found) |
| 1645 | */ |
| 1646 | async findEntryIssue(collectionName: string, slug: string): Promise<GitHubIssue | null> { |
| 1647 | try { |
| 1648 | return await this.findNotesIssue(collectionName, slug, 'all'); |
| 1649 | } catch (error) { |
| 1650 | console.warn('Failed to look up existing notes issue:', error); |
| 1651 | return null; |
| 1652 | } |
| 1653 | } |
| 1654 | /** |
| 1655 | * Get issue with ETag support for conditional requests |
| 1656 | * Returns { status: 304 } if not modified, or { status: 200, data, etag } if modified |
no test coverage detected