Browse Source
fix: update AddJob method to use GetJobArgsType for background job name retrieval
pull/23053/head
maliming
8 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.BackgroundJobs.Abstractions/Volo/Abp/BackgroundJobs/AbpBackgroundJobOptions.cs
|
|
|
@ -68,7 +68,7 @@ public class AbpBackgroundJobOptions |
|
|
|
|
|
|
|
public void AddJob(Type jobType) |
|
|
|
{ |
|
|
|
AddJob(new BackgroundJobConfiguration(jobType, GetBackgroundJobName(jobType))); |
|
|
|
AddJob(new BackgroundJobConfiguration(jobType, GetBackgroundJobName(BackgroundJobArgsHelper.GetJobArgsType(jobType)))); |
|
|
|
} |
|
|
|
|
|
|
|
public void AddJob(BackgroundJobConfiguration jobConfiguration) |
|
|
|
|