mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	Change response logic for migrations
This commit is contained in:
		
							parent
							
								
									9f335c982c
								
							
						
					
					
						commit
						f394982488
					
				@ -436,6 +436,14 @@ class MigrationController extends BaseController
 | 
				
			|||||||
                    StartMigration::dispatch($migration_file, $user, $fresh_company);
 | 
					                    StartMigration::dispatch($migration_file, $user, $fresh_company);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            return response()->json([
 | 
				
			||||||
 | 
					                '_id' => Str::uuid(),
 | 
				
			||||||
 | 
					                'method' => config('queue.default'),
 | 
				
			||||||
 | 
					                'started_at' => now(),
 | 
				
			||||||
 | 
					            ], 200);
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user