Skip to content

Commit

Permalink
fix(DataResolver#resolveImage): adjust to updated resolveFile (#8308)
Browse files Browse the repository at this point in the history
  • Loading branch information
didinele committed Jul 18, 2022
1 parent 66092ca commit 3a7e93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/DataResolver.js
Expand Up @@ -66,7 +66,7 @@ class DataResolver extends null {
return image;
}
const file = await this.resolveFile(image);
return this.resolveBase64(file);
return this.resolveBase64(file.data);
}

/**
Expand Down

0 comments on commit 3a7e93d

Please sign in to comment.