Skip to content

Commit 5e29d66

Browse files
committed
Remove sensitive info
1 parent d5a17fc commit 5e29d66

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

docs/api/api_data.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ define({
7575
},
7676
"examples": [{
7777
"title": "Request-Example:",
78-
"content": "{ \n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"password\":\"hunter2\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \"shirtSize\":\"S\",\n \"birthDate\":\"10/30/1997\"\n}",
78+
"content": "{ \n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"password\":\"hunter2\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \"shirtSize\":\"S\",\n \"birthDate\":\"10/30/1997\"\n}",
7979
"type": "json"
8080
}]
8181
},
@@ -99,7 +99,7 @@ define({
9999
},
100100
"examples": [{
101101
"title": "Success-Response: ",
102-
"content": "{\n \"message\": \"Account creation successful\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
102+
"content": "{\n \"message\": \"Account creation successful\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
103103
"type": "object"
104104
}]
105105
},
@@ -171,7 +171,7 @@ define({
171171
},
172172
"examples": [{
173173
"title": "Success-Response: ",
174-
"content": "{\n \"message\": \"Account found by user id\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
174+
"content": "{\n \"message\": \"Account found by user id\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
175175
"type": "object"
176176
}]
177177
},
@@ -313,7 +313,7 @@ define({
313313
},
314314
"examples": [{
315315
"title": "Success-Response: ",
316-
"content": "{\n \"message\": \"Account found by user email\", \n \"data\": {\n \t\"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
316+
"content": "{\n \"message\": \"Account found by user email\", \n \"data\": {\n \t\"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
317317
"type": "object"
318318
}]
319319
},
@@ -440,7 +440,7 @@ define({
440440
},
441441
"examples": [{
442442
"title": "Success-Response: ",
443-
"content": "{\n \"message\": \"Changed account information\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \t\"shirtSize\":\"M\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
443+
"content": "{\n \"message\": \"Changed account information\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \t\"shirtSize\":\"M\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
444444
"type": "object"
445445
}]
446446
},

docs/api/api_data.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
},
7575
"examples": [{
7676
"title": "Request-Example:",
77-
"content": "{ \n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"password\":\"hunter2\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \"shirtSize\":\"S\",\n \"birthDate\":\"10/30/1997\"\n}",
77+
"content": "{ \n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"password\":\"hunter2\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \"shirtSize\":\"S\",\n \"birthDate\":\"10/30/1997\"\n}",
7878
"type": "json"
7979
}]
8080
},
@@ -98,7 +98,7 @@
9898
},
9999
"examples": [{
100100
"title": "Success-Response: ",
101-
"content": "{\n \"message\": \"Account creation successful\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
101+
"content": "{\n \"message\": \"Account creation successful\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
102102
"type": "object"
103103
}]
104104
},
@@ -170,7 +170,7 @@
170170
},
171171
"examples": [{
172172
"title": "Success-Response: ",
173-
"content": "{\n \"message\": \"Account found by user id\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
173+
"content": "{\n \"message\": \"Account found by user id\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
174174
"type": "object"
175175
}]
176176
},
@@ -312,7 +312,7 @@
312312
},
313313
"examples": [{
314314
"title": "Success-Response: ",
315-
"content": "{\n \"message\": \"Account found by user email\", \n \"data\": {\n \t\"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
315+
"content": "{\n \"message\": \"Account found by user email\", \n \"data\": {\n \t\"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \t\"shirtSize\":\"S\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
316316
"type": "object"
317317
}]
318318
},
@@ -439,7 +439,7 @@
439439
},
440440
"examples": [{
441441
"title": "Success-Response: ",
442-
"content": "{\n \"message\": \"Changed account information\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":19173737889,\n \t\"shirtSize\":\"M\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
442+
"content": "{\n \"message\": \"Changed account information\", \n \"data\": {\n \"id\": ObjectId(\"5bff8b9f3274cf001bc71048\"),\n \t\"firstName\": \"Theo\",\n \"lastName\":\"Klein\",\n \"pronoun\":\"he/him\",\n \"email\":\"theo@klein.com\",\n \"dietaryRestrictions\":[\"Halal\"],\n \"phoneNumber\":1234567890,\n \t\"shirtSize\":\"M\",\n \"birthDate\":Date(\"10/30/1997\")\n }\n }",
443443
"type": "object"
444444
}]
445445
},

routes/api/account.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = {
4242
"pronoun":"he/him",
4343
"email":"theo@klein.com",
4444
"dietaryRestrictions":["Halal"],
45-
"phoneNumber":19173737889,
45+
"phoneNumber":1234567890,
4646
"shirtSize":"S",
4747
"birthDate":Date("10/30/1997")
4848
}
@@ -83,7 +83,7 @@ module.exports = {
8383
"email":"theo@klein.com",
8484
"password":"hunter2",
8585
"dietaryRestrictions":["Halal"],
86-
"phoneNumber":19173737889,
86+
"phoneNumber":1234567890,
8787
"shirtSize":"S",
8888
"birthDate":"10/30/1997"
8989
* }
@@ -100,7 +100,7 @@ module.exports = {
100100
"pronoun":"he/him",
101101
"email":"theo@klein.com",
102102
"dietaryRestrictions":["Halal"],
103-
"phoneNumber":19173737889,
103+
"phoneNumber":1234567890,
104104
"shirtSize":"S",
105105
"birthDate":Date("10/30/1997")
106106
}
@@ -171,7 +171,7 @@ module.exports = {
171171
"pronoun":"he/him",
172172
"email":"theo@klein.com",
173173
"dietaryRestrictions":["Halal"],
174-
"phoneNumber":19173737889,
174+
"phoneNumber":1234567890,
175175
"shirtSize":"M",
176176
"birthDate":Date("10/30/1997")
177177
}
@@ -218,7 +218,7 @@ module.exports = {
218218
"pronoun":"he/him",
219219
"email":"theo@klein.com",
220220
"dietaryRestrictions":["Halal"],
221-
"phoneNumber":19173737889,
221+
"phoneNumber":1234567890,
222222
"shirtSize":"S",
223223
"birthDate":Date("10/30/1997")
224224
}

0 commit comments

Comments
 (0)