* Add step fields to enable decimal points on fields #342 * Update js-yaml version due to vulnerability scan * Don't seed dev files when env == local * Fix * Fix to be static * Add visibilty keyword
This commit is contained in:
@@ -18,11 +18,8 @@ class SeederService extends Service
|
||||
private $counters = [];
|
||||
private $offsets = [];
|
||||
|
||||
private static $seed_mapper = [
|
||||
'local' => 'dev',
|
||||
'qa' => 'dev',
|
||||
'staging' => 'dev',
|
||||
];
|
||||
// Map an environment to a seeder directory, if we want to share
|
||||
public static $seed_mapper = [];
|
||||
|
||||
public function __construct(DatabaseService $databaseSvc)
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ class Http
|
||||
], $opts);
|
||||
|
||||
$client = new Client();
|
||||
$response = $client->request('GET', $uri, $opts);
|
||||
$responseSeederService = $client->request('GET', $uri, $opts);
|
||||
|
||||
$body = $response->getBody()->getContents();
|
||||
if ($response->getHeader('content-type') === 'application/json') {
|
||||
|
||||
Reference in New Issue
Block a user