Fix access level of Model.autoFill()

This commit is contained in:
Alice Gaudon 2020-08-28 15:40:18 +02:00
parent 9913d36ce9
commit fed54b9483

View File

@ -87,7 +87,7 @@ export default abstract class Model {
* Override this to automatically fill obvious missing data i.e. from relation or default value that are fetched * Override this to automatically fill obvious missing data i.e. from relation or default value that are fetched
* asynchronously. * asynchronously.
*/ */
public async autoFill(): Promise<void> { protected async autoFill(): Promise<void> {
} }
protected async beforeSave(exists: boolean, connection: Connection): Promise<void> { protected async beforeSave(exists: boolean, connection: Connection): Promise<void> {