Skip to content

Commit

Permalink
fix: set quality of image screenshot default value to 80
Browse files Browse the repository at this point in the history
  • Loading branch information
tcnguyen committed Mar 15, 2018
1 parent 8e6c8a3 commit 535dfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botfuel-dialog/src/adapters/web-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class WebAdapter extends Adapter {
* @param {Number} quality - image quality
* @returns {null}
*/
static getImageUrl(templateName, params, width = 800, height = 600, quality = 100) {
static getImageUrl(templateName, params, width = 800, height = 600, quality = 80) {
const templateUrl = this.getTemplateUrl(templateName, params);
const screenshotParams = {
url: templateUrl,
Expand Down

0 comments on commit 535dfc0

Please sign in to comment.