summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-14 09:09:05 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-14 09:09:05 +0700
commit76afb8aaa5d2aaaf68529e11e9ed4d003d953f76 (patch)
tree1ec2ebdf700d3c9501a665a8f1e5351ddc80e5ef /src/pages
parente06905990de608585320754eb6a477cf32263595 (diff)
<iman> update pengajuan tempo
Diffstat (limited to 'src/pages')
-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: {} };
}