Skip to content

Commit

Permalink
chore: typo fixes (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinchang authored and jakebolam committed Jan 28, 2019
1 parent 635c0f9 commit fe6c2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/processIssueComment/utils/getUserDetails.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { UserNotFoundError } = require('./errors')

async function getUserDetials({ github, username }) {
async function getUserDetails({ github, username }) {
// TODO: optimzation, if commenting user is the user we're adding we can avoid an api call
// const commentUser = context.payload.comment.user.login
// if (user === commentUser) {
Expand Down Expand Up @@ -31,4 +31,4 @@ async function getUserDetials({ github, username }) {
}
}

module.exports = getUserDetials
module.exports = getUserDetails

0 comments on commit fe6c2d9

Please sign in to comment.