Skip to content

Commit f50ebe9

Browse files
committed
fix: ForceDelete should be promise
1 parent f8a35ca commit f50ebe9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/fedaco/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gradii/fedaco",
3-
"version": "1.1.13",
3+
"version": "1.1.14",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/gradii/fedaco.git"

libs/fedaco/src/fedaco/mixins/soft-deletes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface SoftDeletes {
1515
InitializeSoftDeletes(this: Model & this): void;
1616

1717
/*Force a hard delete on a soft deleted model.*/
18-
ForceDelete(this: Model & this): boolean;
18+
ForceDelete(this: Model & this): Promise<boolean>;
1919

2020
/*Perform the actual delete query on this model instance.*/
2121
_performDeleteOnModel(this: Model & this): void;

0 commit comments

Comments
 (0)