File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ the `RepositoryMixin`:
3232import {ApplicationConfig } from ' @loopback/core' ;
3333import {RestApplication } from ' @loopback/rest' ;
3434import {MySequence } from ' ./sequence' ;
35- import {db } from ' ./datasources/db.datasource' ;
3635
3736/* tslint:disable:no-unused-variable */
3837// Binding and Booter imports are required to infer types for BootMixin!
@@ -66,18 +65,6 @@ export class TodoListApplication extends BootMixin(
6665 nested: true ,
6766 },
6867 };
69-
70- this .setupDatasources ();
71- }
72-
73- setupDatasources() {
74- // This will allow you to test your application without needing to
75- // use a "real" datasource!
76- const datasource =
77- this .options && this .options .datasource
78- ? new juggler .DataSource (this .options .datasource )
79- : db ;
80- this .dataSource (datasource );
8168 }
8269}
8370```
You can’t perform that action at this time.
0 commit comments