summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pages/pengajuan-tempo/[status].jsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pages/pengajuan-tempo/[status].jsx b/src/pages/pengajuan-tempo/[status].jsx
index fa0a1749..29886892 100644
--- a/src/pages/pengajuan-tempo/[status].jsx
+++ b/src/pages/pengajuan-tempo/[status].jsx
@@ -9,11 +9,11 @@ import { getAuth } from '~/libs/auth';
export async function getServerSideProps(context) {
const { status } = context.query;
- // await axios.post(
- // `${process.env.NEXT_PUBLIC_SELF_HOST}/api/pengajuan-tempo/${status}`,
- // {},
- // { headers: context.req.headers }
- // );
+ await axios.post(
+ `${process.env.NEXT_PUBLIC_SELF_HOST}/api/pengajuan-tempo/${status}`,
+ {},
+ { headers: context.req.headers }
+ );
return { props: {} };
}