Skip to content

Commit 498784e

Browse files
committed
Update request for auto test
1 parent b673d83 commit 498784e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
import axios from "axios";
22

33
export const getSubmissionHistory = (applicationCode = "") => {
4+
//Temporary fix for issue introduced
5+
const token = localStorage.getItem("jwt");
6+
47
if (applicationCode) {
8+
59
return axios.get("/filingpackages", {
610
params: { parentApplication: applicationCode },
11+
headers: {
12+
Authorization: `Bearer ${token}`,
13+
},
714
});
815
}
9-
return axios.get("/filingpackages");
16+
return axios.get("/filingpackages", {
17+
headers: {
18+
Authorization: `Bearer ${token}`,
19+
},
20+
});
1021
};

0 commit comments

Comments
 (0)