EHDEM commited on
Commit
70215fa
·
verified ·
1 Parent(s): dd70ff2

Update config.js

Browse files
Files changed (1) hide show
  1. config.js +9 -11
config.js CHANGED
@@ -1,23 +1,21 @@
1
-
2
  // config.js - GitHub Configuration
3
  const GITHUB_CONFIG = {
4
- TOKEN: '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', // Your Personal Access Token
5
-
6
  REPOS: {
7
- ATTENDANCE: 'SMSS-Waste-Less/Waste-LessV5', // Form A data
8
- CONSUMED: 'WaffleExecutors/Waste-LessV5', // Form B data
9
- STUDENT_LIST: 'SMSS-Waste-Less/Waste-LessV5', // Student master list
10
- WASTE_DATA: 'SMSS-Waste-Less/Waste-LessV5' // Analytics data
11
  },
12
 
13
- // Default file paths
14
  PATHS: {
15
  FORM_A: 'Data%20Students%20who%20want%20to%20eat',
16
  FORM_B: 'data%20who%20has%20ate%20at%20dm',
17
  STUDENTS: 'student-list.json',
18
- WASTE: 'food_waste_data.json'
 
19
  }
20
  };
21
 
22
- // Global GitHub token variable (for backward compatibility)
23
- const GITHUB_TOKEN = GITHUB_CONFIG.TOKEN;
 
 
1
  // config.js - GitHub Configuration
2
  const GITHUB_CONFIG = {
3
+ TOKEN: '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',
4
+
5
  REPOS: {
6
+ ATTENDANCE: 'SMSS-Waste-Less/Waste-LessV5',
7
+ CONSUMED: 'WaffleExecutors/Waste-LessV5',
8
+ STUDENT_LIST: 'SMSS-Waste-Less/Waste-LessV5',
9
+ WASTE_DATA: 'SMSS-Waste-Less/Waste-LessV5'
10
  },
11
 
 
12
  PATHS: {
13
  FORM_A: 'Data%20Students%20who%20want%20to%20eat',
14
  FORM_B: 'data%20who%20has%20ate%20at%20dm',
15
  STUDENTS: 'student-list.json',
16
+ WASTE: 'food_waste_data.json',
17
+ RFID_DB: 'rfid-database.json'
18
  }
19
  };
20
 
21
+ const GITHUB_TOKEN = GITHUB_CONFIG.TOKEN;