Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 589cb7d579 | |||
| 3680ad1914 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@extollo/lib",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.8",
|
||||
"description": "The framework library that lifts up your code.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -627,7 +627,7 @@ export abstract class Model<T extends Model<T>> extends AppClass implements Bus
|
||||
|
||||
const data = result.rows.first()
|
||||
if ( data ) {
|
||||
await this.assumeFromSource(result)
|
||||
await this.assumeFromSource(data)
|
||||
}
|
||||
|
||||
await this.dispatch(new ModelCreatedEvent<T>(this as any))
|
||||
|
||||
Reference in New Issue
Block a user