Skip to content

Commit

Permalink
Make sure to post registration request
Browse files Browse the repository at this point in the history
  • Loading branch information
c0bra committed Feb 13, 2018
1 parent 284b013 commit dcfc4c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/seniorvu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default class SeniorVu {
}

register(opts) {
return this.ax(this.opts.baseUrl + '/auth/registration', opts)
return this.ax.post(this.opts.baseUrl + '/auth/registration', opts)
.then(res => {
if (res && res.data) return res.data;
return res;
Expand Down

0 comments on commit dcfc4c8

Please sign in to comment.