added garys api endpoint
This commit is contained in:
@@ -18,6 +18,7 @@ import { setMyRepresentations } from "../../store/myRepresentations/action";
|
||||
import { setWatchedCases } from "../../store/watchedCases/action";
|
||||
import { setAwaitingSubmission } from "../../store/awaitingSubmission/action";
|
||||
import {
|
||||
getToken,
|
||||
getMyCases,
|
||||
getMyRepresentations,
|
||||
getWatchedCases,
|
||||
@@ -75,6 +76,9 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
"public, s-maxage=604800, stale-while-revalidate"
|
||||
);
|
||||
|
||||
const token = await getToken();
|
||||
console.log(token);
|
||||
|
||||
const [
|
||||
myCases,
|
||||
myRepresentations,
|
||||
|
||||
Reference in New Issue
Block a user