Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
fix(create): returned the promise from the repo creation
Browse files Browse the repository at this point in the history
for #1
  • Loading branch information
travi committed Feb 1, 2019
1 parent a5c485a commit e310096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/create.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {factory} from './github-client-factory';

export default function (name, visibility) {
factory().repos.createForAuthenticatedUser({name, private: 'Private' === visibility});
return factory().repos.createForAuthenticatedUser({name, private: 'Private' === visibility});
}

0 comments on commit e310096

Please sign in to comment.