Skip to content

Commit

Permalink
#35 use promise
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenGorenflo committed Jul 30, 2015
1 parent c95ef11 commit 26e912d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class User {
* @param uuid
* @param callback
*/
getUserByUUID = (uuid:string, callback) => {
this.util.getObjectOf(uuid, this.LISTS.LIST_USER_UUID, callback);
getUserByUUID = (uuid:string) => {
return this.util.retrieveSingleValue(this.LISTS.LIST_USER_UUID, uuid);
};


Expand Down

0 comments on commit 26e912d

Please sign in to comment.