Skip to content
Permalink
Browse files

chore: Fix github integration

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
  • Loading branch information
Richienb committed Mar 18, 2020
1 parent 82355ef commit 57b36e93a72b93f626cc12f68b4efe4a2c4157e4
Showing with 2 additions and 1 deletion.
  1. +2 −1 routes/post.js
@@ -3,7 +3,8 @@ const path = require('path')
const btoa = require('btoa')
const { version } = require(path.join(__dirname, '..', 'package.json'))
const size = require('any-size')
const github = require('@octokit/rest')({
const { Octokit } = require('@octokit/rest')
const github = new Octokit({
// GitHub personal access token
auth: process.env.github_token,
// User agent with version from package.json

0 comments on commit 57b36e9

Please sign in to comment.
You can’t perform that action at this time.