diff --git a/src/views/GiftedPhoto.vue b/src/views/GiftedPhoto.vue index d9776d1c3..085cdf259 100644 --- a/src/views/GiftedPhoto.vue +++ b/src/views/GiftedPhoto.vue @@ -104,7 +104,7 @@ export default class GiftedPhoto extends Vue { async takeImage(/* payload: MouseEvent */) { const cameraComponent = this.$refs.camera as InstanceType; - this.blob = await cameraComponent?.snapshot(); + this.blob = await cameraComponent?.snapshot(); // png is default; if that changes, change extension in formData.append if (!this.blob) { this.$notify( { @@ -145,7 +145,7 @@ export default class GiftedPhoto extends Vue { this.uploading = false; return; } - formData.append("image", this.blob, "snapshot.jpg"); + formData.append("image", this.blob, "snapshot.png"); formData.append("claimType", "GiveAction"); try { const response = await axios.post(