style: auto format whole project

This commit is contained in:
Ali BARIN
2022-11-05 23:57:33 +01:00
parent e338770e57
commit 475f24f661
199 changed files with 2421 additions and 1839 deletions

View File

@@ -36,7 +36,10 @@ class Base extends Model {
this.updatedAt = new Date().toISOString();
}
async $beforeUpdate(opts: ModelOptions, queryContext: QueryContext): Promise<void> {
async $beforeUpdate(
opts: ModelOptions,
queryContext: QueryContext
): Promise<void> {
this.updatedAt = new Date().toISOString();
await super.$beforeUpdate(opts, queryContext);