Skip to content

Commit

Permalink
Remove unused method params
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Dec 16, 2024
1 parent e67badd commit 1e41ee8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/components/DatasetInformation/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ import axios from "axios";
import { getAppRoot } from "onload/loadConfig";
import { rethrowSimple } from "utils/simple-error";

export async function sendErrorReport(email, message, report_type = "dataset", dataset = {}, api_request = null) {
export async function sendErrorReport(dataset, message, email) {
const payload = {
dataset_id: dataset.id,
message,
email,
report_type,
api_request,
};
const url = `${getAppRoot()}api/jobs/${dataset.creating_job}/error`;
try {
Expand Down

0 comments on commit 1e41ee8

Please sign in to comment.