mirror of
https://github.com/outline/outline.git
synced 2026-11-28 16:19:46 +03:00
tsc
This commit is contained in:
1 parent
a8391dfec0
commit
08be6082fb
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user