Skip to content

Commit

Permalink
feat: add User api
Browse files Browse the repository at this point in the history
  • Loading branch information
animify committed Feb 9, 2020
1 parent 0587b37 commit 07b680d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Dribbble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,12 @@ export default class Dribbble {
},
};
}

public static get user() {
return {
get: () => {
return Request.fetch({ url: '/user', method: 'GET' });
},
};
}
}

0 comments on commit 07b680d

Please sign in to comment.