Skip to content

Commit

Permalink
Removed unneeded payload data from mixins fetchOrganismList() call
Browse files Browse the repository at this point in the history
  • Loading branch information
jorvis committed Jan 18, 2024
1 parent 1954a3d commit 82fc5e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/js/common.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,7 @@ const apiCallsMixin = {
* @returns {Promise<any>} - A promise that resolves to the list of organisms
*/
async fetchOrganismList() {
const payload = {session_id: this.sessionId};
const {data} = await axios.post(`/cgi/get_organism_list.cgi`, convertToFormData(payload));
const {data} = await axios.post(`/cgi/get_organism_list.cgi`);
return data;
},
/**
Expand Down

0 comments on commit 82fc5e3

Please sign in to comment.