(collectionName: string, slug: string)
| 718 | } |
| 719 | |
| 720 | async deleteUnpublishedEntry(collectionName: string, slug: string) { |
| 721 | const contentKey = generateContentKey(collectionName, slug); |
| 722 | const branch = branchFromContentKey(contentKey); |
| 723 | const pullRequest = await this.getBranchPullRequest(branch); |
| 724 | await this.abandonPullRequest(pullRequest); |
| 725 | } |
| 726 | |
| 727 | async publishUnpublishedEntry(collectionName: string, slug: string) { |
| 728 | const contentKey = generateContentKey(collectionName, slug); |
nothing calls this directly
no test coverage detected