Browse Source

send the claim type with an image

kb/add-usage-guide
Trent Larson 9 months ago
parent
commit
476d35452a
  1. 1
      src/views/GiftedPhoto.vue

1
src/views/GiftedPhoto.vue

@ -146,6 +146,7 @@ export default class GiftedPhoto extends Vue {
return;
}
formData.append("image", this.blob, "snapshot.jpg");
formData.append("claimType", "GiveAction");
try {
const response = await axios.post(
DEFAULT_IMAGE_API_SERVER + "/image",

Loading…
Cancel
Save