Skip to content

Commit

Permalink
fix: remove survey_id from stamp request
Browse files Browse the repository at this point in the history
  • Loading branch information
dirodriguezm committed Apr 8, 2024
1 parent c4bc566 commit 9341d26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion components/cardStamps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export default class CardStamps extends Vue {
this.$store.dispatch('avro/getAvro', {
oid: this.oid,
candid: detection.candid,
surveyId: detection.tid,
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/avro.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function ({ $axios, $config }, inject) {

avroApi.getAvroInfo = (oid, candid, surveyId, request = null) => {
const token = localStorage.getItem('access_token')
const config = { params: { oid, candid, survey_id: surveyId } }
const config = { params: { oid, candid } }
if (request) {
config.cancelToken = request.token
}
Expand Down

0 comments on commit 9341d26

Please sign in to comment.