forked from CSI-KJSCE/appointment_to_examiner
token refresher
This commit is contained in:
@@ -17,7 +17,8 @@ const CourseConsolidated = () => {
|
||||
const fetchData = async () => {
|
||||
try {
|
||||
const response = await axios.get(
|
||||
"http://localhost:8080/api/table/course-consolidated"
|
||||
"http://localhost:8080/api/table/course-consolidated",
|
||||
{ withCredentials: true }
|
||||
);
|
||||
setData(response.data);
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user