Skip to content

Commit

Permalink
Merge pull request #249 from hotosm/feat/user-profile
Browse files Browse the repository at this point in the history
hot-fix: temporary redirection
  • Loading branch information
suzit-10 authored Sep 30, 2024
2 parents aea76bb + ef8b042 commit abdaf91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const ImageBoxPopOver = () => {
const { mutate: startImageryProcess } = useMutation({
mutationFn: () => postProcessImagery(projectId, taskId),
onSuccess: () => toast.success('Image processing started'),
retry: (failureCount: any, error: any) =>
error.status === 307 && failureCount < 5,
// retry: (failureCount: any, error: any) =>
// error.status === 307 && failureCount < 5,
});

// function that gets the signed urls for the images and again puts them in chunks of 4
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/services/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export const getTaskAssetsInfo = (projectId: string, taskId: string) =>
authenticated(api).get(`/projects/assets/${projectId}/${taskId}/`);

export const postProcessImagery = (projectId: string, taskId: string) =>
authenticated(api).post(`/projects/process_imagery/${projectId}/${taskId}`);
authenticated(api).post(`/projects/process_imagery/${projectId}/${taskId}/`);

0 comments on commit abdaf91

Please sign in to comment.