mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-04-20 19:45:17 +00:00
Fix a field name typo
This commit is contained in:
parent
da7623db79
commit
31c9e94e15
1 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ class ValidationJob : JobService() {
|
|||
}
|
||||
|
||||
private val database by inject<AppDatabase>()
|
||||
private val validaitonManager by inject<ValidationManager>()
|
||||
private val validationManager by inject<ValidationManager>()
|
||||
private val notificationManager by inject<NockNotificationManager>()
|
||||
|
||||
override fun onStartJob(params: JobParameters): Boolean {
|
||||
|
@ -82,7 +82,7 @@ class ValidationJob : JobService() {
|
|||
|
||||
val jobResult = async(IO) {
|
||||
updateStatus(site, CHECKING)
|
||||
val checkResult = validaitonManager.performCheck(site)
|
||||
val checkResult = validationManager.performCheck(site)
|
||||
val resultModel = checkResult.model
|
||||
val resultResponse = checkResult.response
|
||||
val result = resultModel.lastResult!!
|
||||
|
@ -142,7 +142,7 @@ class ValidationJob : JobService() {
|
|||
notificationManager.postStatusNotification(jobResult)
|
||||
}
|
||||
|
||||
validaitonManager.scheduleCheck(
|
||||
validationManager.scheduleCheck(
|
||||
site = jobResult,
|
||||
fromFinishingJob = true
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue