We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b673d83 + 2dc7de7 commit 74ae98aCopy full SHA for 74ae98a
src/frontend/efiling-frontend/src/domain/submission/submission-history/SubmissionHistoryService.js
@@ -1,10 +1,20 @@
1
import axios from "axios";
2
3
export const getSubmissionHistory = (applicationCode = "") => {
4
+ // Temporary fix for issue introduced
5
+ const token = localStorage.getItem("jwt");
6
+
7
if (applicationCode) {
8
return axios.get("/filingpackages", {
9
params: { parentApplication: applicationCode },
10
+ headers: {
11
+ Authorization: `Bearer ${token}`,
12
+ },
13
});
14
}
- return axios.get("/filingpackages");
15
+ return axios.get("/filingpackages", {
16
17
18
19
+ });
20
};
0 commit comments