Skip to content

Commit

Permalink
add getAvatarForEmail
Browse files Browse the repository at this point in the history
  • Loading branch information
arosiclair committed Oct 19, 2023
1 parent 9577f7d commit 37f4eaf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/API.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,18 @@ export default function API(network, args) {
return performPOSTRequest(commandName, parameters);
},

/**
* @param {Object} parameters
* @param {String[]} parameters.emailList
*
* @returns {ExpensifyAPIDeferred}
*/
getAvatarForEmail(parameters) {
const commandName = 'GetAvatarForEmail';
requireParameters(['email'], parameters, commandName);
return performPOSTRequest(commandName, parameters);
},

/**
* Performs API command "Get"
*
Expand Down

0 comments on commit 37f4eaf

Please sign in to comment.