Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

handle optional preview blocks #490

Closed
todo bot opened this issue Aug 14, 2019 · 1 comment · Fixed by #529
Closed

handle optional preview blocks #490

todo bot opened this issue Aug 14, 2019 · 1 comment · Fixed by #529
Assignees
Labels
released Released via semantic-release

Comments

@todo
Copy link

todo bot commented Aug 14, 2019

// TODO: handle optional preview blocks
const requiredPreviewHeaderBlocks = previewBlocks.filter(block => block.required)
const defaultAcceptHeader = requiredPreviewHeaderBlocks.length
? requiredPreviewHeaderBlocks.map(block => `application/vnd.github.${block.preview}-preview+json`).join(',')
: 'application/vnd.github.v3+json'
const acceptHeaderParam = {


This issue was generated by todo based on a TODO: comment in ff733a9 when #482 was merged. cc @octokit.
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 23.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Released via semantic-release label Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
released Released via semantic-release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant