Skip to content

Commit

Permalink
Fix commit lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
joshaber committed Jun 21, 2017
1 parent c08e2ed commit c41469a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class API {
/** Fetch a commit from the repository. */
public async fetchCommit(owner: string, name: string, sha: string): Promise<IAPICommit | null> {
try {
const response = await this.request('GET', `repos/${owner}/${name}/git/commits/${sha}`)
const response = await this.request('GET', `repos/${owner}/${name}/commits/${sha}`)
return parsedResponse<IAPICommit>(response)
} catch (e) {
log.warn(`fetchCommit: not found '${owner}/${name}@${sha}'`, e)
Expand Down

0 comments on commit c41469a

Please sign in to comment.