mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 15:57:33 -04:00 
			
		
		
		
	start database migration with correct key
This commit is contained in:
		
							parent
							
								
									a2c244a666
								
							
						
					
					
						commit
						c434d6313c
					
				| @ -107,7 +107,7 @@ class StartMigration implements ShouldQueue | ||||
| 
 | ||||
|             $data = json_decode(file_get_contents($file), 1); | ||||
| 
 | ||||
|             Import::dispatchNow($data, $this->company, $this->user); | ||||
|             Import::dispatchNow($data['data'], $this->company, $this->user); | ||||
|         } catch (NonExistingMigrationFile | ProcessingMigrationArchiveFailed | ResourceNotAvailableForMigration | MigrationValidatorFailed | ResourceDependencyMissing $e) { | ||||
| 
 | ||||
|             Mail::to($this->user)->send(new MigrationFailed($e, $e->getMessage())); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user