diff options
Diffstat (limited to 'services/org/org.go')
-rw-r--r-- | services/org/org.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/org/org.go b/services/org/org.go index a62e5b6fc8..4ecafc93a6 100644 --- a/services/org/org.go +++ b/services/org/org.go @@ -19,8 +19,8 @@ import ( ) // DeleteOrganization completely and permanently deletes everything of organization. -func DeleteOrganization(org *org_model.Organization) error { - ctx, commiter, err := db.TxContext(db.DefaultContext) +func DeleteOrganization(ctx context.Context, org *org_model.Organization) error { + ctx, commiter, err := db.TxContext(ctx) if err != nil { return err } |