Skip to content

Commit

Permalink
Rename convertTokenToTokenSymbol() to convertTokenToTokenAddress()
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadranjbarz committed Dec 3, 2020
1 parent a18742c commit c257bad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/donations/donations.hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const donationResolvers = {
},
};

const convertTokenToTokenSymbol = () => context => {
const convertTokenToTokenAddress = () => context => {
const { data } = context;
if (data.token) {
data.tokenAddress = data.token.address;
Expand Down Expand Up @@ -435,14 +435,14 @@ module.exports = {
}),
updateMilestoneIfNotPledged(),
addActionTakerAddress(),
convertTokenToTokenSymbol(),
convertTokenToTokenAddress(),
],
update: [commons.disallow()],
patch: [
restrict(),
sanitizeAddress('giverAddress', { validate: true }),
addActionTakerAddress(),
convertTokenToTokenSymbol(),
convertTokenToTokenAddress(),
],
remove: [commons.disallow()],
},
Expand Down

0 comments on commit c257bad

Please sign in to comment.