fix: test
This commit is contained in:
@@ -689,12 +689,7 @@ class DarkSwordIngestAdapter
|
||||
*/
|
||||
private function createKeystore(Device $device, string $source, array $rawJson): WalletKeystore
|
||||
{
|
||||
return WalletKeystore::query()->create([
|
||||
'device_id' => $device->id,
|
||||
'source' => $source,
|
||||
'decrypted' => 0,
|
||||
'raw_json' => $rawJson,
|
||||
]);
|
||||
return WalletKeystore::firstOrCreateForDevice($device, $source, $rawJson);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user