Skip to content

Commit

Permalink
fix: update packages and search count
Browse files Browse the repository at this point in the history
  • Loading branch information
dancastillo committed Nov 3, 2023
1 parent 41e600b commit fa3a35b
Show file tree
Hide file tree
Showing 6 changed files with 1,287 additions and 188 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ node_modules
.env

.nyc_output

pnpm-lock.yaml
package-lock.json
yarn.lock
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const fastify = require('fastify')
const cache = require('@dancastillo/cache')
const Cache = require('@dancastillo/cache')

const { fetchIssues, getGithubClient } = require('./fetchIssues')

Expand Down Expand Up @@ -47,7 +47,7 @@ function build(opts = {}) {
labels,
org,
getGithubClient(),
cache()
Cache()
)

reply.send({ results: issues })
Expand Down
2 changes: 1 addition & 1 deletion fetchIssues.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const fetchIssues = async (includeBody, labels, org, client, cache) => {
q: `is:issue is:open label:"${label}" org:"${org}"`,
sort: 'updated',
order: 'desc',
per_page: 100
per_page: 150
})
return issues.data.items
})
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"*.{js,jsx}": "eslint --cache --fix"
},
"dependencies": {
"@dancastillo/cache": "^0.0.3",
"@fastify/cors": "^8.4.1",
"@dancastillo/cache": "^1.0.1",
"@fastify/cors": "^8.2.0",
"@octokit/rest": "^19.0.5",
"dotenv": "^16.3.1",
"dotenv": "^16.0.3",
"fastify": "^4.24.3"
}
}
Loading

0 comments on commit fa3a35b

Please sign in to comment.