cheesesteak
This commit is contained in:
		
							parent
							
								
									ddd2f1dfaf
								
							
						
					
					
						commit
						a5c89496b1
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
										
									
									
									
								
							|  | @ -115,6 +115,8 @@ function diff(current, checked) { | ||||||
| app.post("/updates/:project(\\w+)", (req, res) => { | app.post("/updates/:project(\\w+)", (req, res) => { | ||||||
|   let project_id = req.params['project']; |   let project_id = req.params['project']; | ||||||
|   const body = (typeof req.body == "string") ? req.body : ""; |   const body = (typeof req.body == "string") ? req.body : ""; | ||||||
|  |   console.log(`${req.body}, ${typeof req.body}`); | ||||||
|  |   console.log(`${body}`); | ||||||
|   let adjustedBody = body.replace(/\r/, ""); |   let adjustedBody = body.replace(/\r/, ""); | ||||||
|   let indexes = get_indexes(project_id); |   let indexes = get_indexes(project_id); | ||||||
|   let difference = diff(indexes, adjustedBody); |   let difference = diff(indexes, adjustedBody); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue