make sure to save the product
This commit is contained in:
		
							parent
							
								
									fba38ba823
								
							
						
					
					
						commit
						9e164cabcc
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										5
									
								
								scripts/external/processor.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								scripts/external/processor.js
									
										
									
									
										vendored
									
									
								
							|  | @ -17,8 +17,9 @@ export default class processor { | ||||||
| 	async analyze() { | 	async analyze() { | ||||||
| 		this.product = new product(this.data); | 		this.product = new product(this.data); | ||||||
| 		await this.product.attach(); | 		await this.product.attach(); | ||||||
| 		console.log(this.product); | 		await this.product.analyze(); | ||||||
| 		console.log(await this.product.analyze()); | 		this.product.save(); | ||||||
|  | 		console.log(this.product.analysis); | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
| 	constructor (filter) { | 	constructor (filter) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue