From fed54b9483818f867b0a421c0b6fcddb09d4555f Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Fri, 28 Aug 2020 15:40:18 +0200 Subject: [PATCH] Fix access level of Model.autoFill() --- src/db/Model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/Model.ts b/src/db/Model.ts index 232a616..70dc4f0 100644 --- a/src/db/Model.ts +++ b/src/db/Model.ts @@ -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 * asynchronously. */ - public async autoFill(): Promise { + protected async autoFill(): Promise { } protected async beforeSave(exists: boolean, connection: Connection): Promise {