@@ -0,0 +1,10 @@
+BASE_URL=http://localhost:5000
+PORT=5000
+SECRET=3d3eb3d842f4e595048f1806ca815f8092e29fb6b98a30dff0b8241ad0e6c273
+
+MONGO_URL=mongodb://localhost:27017/ptb-db
+TOKEN_DEVELOPMENT=77aecfec-10ac-3b4f-ab59-3fbfbeed6324
+TOKEN_PRODUCTION=5b62f743-eef2-3370-8c66-6951b2e9c2c5
+TOKEN_AUTO=69qwerq986qwqjhq
+ENV=local
@@ -55,7 +55,7 @@ typings/
.yarn-integrity
# dotenv environment variables file
-.env
+#.env
# next.js build output
.next
@@ -84,7 +84,7 @@ exports.createJawaban = handleError(async (req, res) => {
['pengajuan.cabut_sanksi']: { $exists: true, $ne: null },
},
{
- aktif: false,
+ aktif: status === 'Diterima' ? false : true,
['jawaban.cabut_sanksi']: {
status,
keterangan,