Skip to content

Commit

Permalink
fix: ForceDelete should be promise
Browse files Browse the repository at this point in the history
  • Loading branch information
LinboLen committed Sep 27, 2024
1 parent f8a35ca commit f50ebe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/fedaco/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gradii/fedaco",
"version": "1.1.13",
"version": "1.1.14",
"repository": {
"type": "git",
"url": "https://github.com/gradii/fedaco.git"
Expand Down
2 changes: 1 addition & 1 deletion libs/fedaco/src/fedaco/mixins/soft-deletes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface SoftDeletes {
InitializeSoftDeletes(this: Model & this): void;

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

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

0 comments on commit f50ebe9

Please sign in to comment.