@@ -29,7 +29,6 @@ export const seedFake = (db) => {
29
29
status : 'authorized' ,
30
30
} )
31
31
32
-
33
32
const device1 = db . addDevice ( {
34
33
connected_account_id : ca . connected_account_id ,
35
34
device_type : 'august_lock' ,
@@ -307,24 +306,23 @@ export const seedFake = (db) => {
307
306
device4,
308
307
} )
309
308
309
+ // Add ecobee thermostat
310
+ const cw2 = db . addConnectWebview ( {
311
+ workspace_id : ws2 . workspace_id ,
312
+ created_at : '2023-05-15T15:08:51.000' ,
313
+ } )
310
314
311
- // Add ecobee thermostat
312
- const cw2 = db . addConnectWebview ( {
313
- workspace_id : ws2 . workspace_id ,
314
- created_at : '2023-05-15T15:08:51.000' ,
315
- } )
316
-
317
- const ca2 = db . addConnectedAccount ( {
318
- provider : 'ecobee' ,
319
- workspace_id : ws2 . workspace_id ,
320
- created_at : '2023-05-15T15:08:52.000' ,
321
- } )
315
+ const ca2 = db . addConnectedAccount ( {
316
+ provider : 'ecobee' ,
317
+ workspace_id : ws2 . workspace_id ,
318
+ created_at : '2023-05-15T15:08:52.000' ,
319
+ } )
322
320
323
- db . updateConnectWebview ( {
324
- connect_webview_id : cw2 . connect_webview_id ,
325
- connected_account_id : ca2 . connected_account_id ,
326
- status : 'authorized' ,
327
- } )
321
+ db . updateConnectWebview ( {
322
+ connect_webview_id : cw2 . connect_webview_id ,
323
+ connected_account_id : ca2 . connected_account_id ,
324
+ status : 'authorized' ,
325
+ } )
328
326
329
327
const device5 = db . addDevice ( {
330
328
connected_account_id : ca . connected_account_id ,
0 commit comments