This commit is contained in:
Tom Moor committed 2024-11-10 16:46:44 -05:00
1 parent a8391dfec0
commit 08be6082fb
1 file changed
+2 -2
+2 -2
View File
@@ -12,7 +12,7 @@ import {
InstanceUpdateOptions,
ModelStatic,
NonAttribute,
InstanceSaveOptions,
SaveOptions,
} from "sequelize";
import {
AfterCreate,
@@ -40,7 +40,7 @@ class Model<
*/
public saveWithCtx(ctx: APIContext) {
this.cacheChangeset();
return this.save(ctx.context as InstanceSaveOptions);
return this.save(ctx.context as SaveOptions);
}
/**