mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-08-03 06:38:38 +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 database by inject<AppDatabase>()
|
||||||
private val validaitonManager by inject<ValidationManager>()
|
private val validationManager by inject<ValidationManager>()
|
||||||
private val notificationManager by inject<NockNotificationManager>()
|
private val notificationManager by inject<NockNotificationManager>()
|
||||||
|
|
||||||
override fun onStartJob(params: JobParameters): Boolean {
|
override fun onStartJob(params: JobParameters): Boolean {
|
||||||
|
@ -82,7 +82,7 @@ class ValidationJob : JobService() {
|
||||||
|
|
||||||
val jobResult = async(IO) {
|
val jobResult = async(IO) {
|
||||||
updateStatus(site, CHECKING)
|
updateStatus(site, CHECKING)
|
||||||
val checkResult = validaitonManager.performCheck(site)
|
val checkResult = validationManager.performCheck(site)
|
||||||
val resultModel = checkResult.model
|
val resultModel = checkResult.model
|
||||||
val resultResponse = checkResult.response
|
val resultResponse = checkResult.response
|
||||||
val result = resultModel.lastResult!!
|
val result = resultModel.lastResult!!
|
||||||
|
@ -142,7 +142,7 @@ class ValidationJob : JobService() {
|
||||||
notificationManager.postStatusNotification(jobResult)
|
notificationManager.postStatusNotification(jobResult)
|
||||||
}
|
}
|
||||||
|
|
||||||
validaitonManager.scheduleCheck(
|
validationManager.scheduleCheck(
|
||||||
site = jobResult,
|
site = jobResult,
|
||||||
fromFinishingJob = true
|
fromFinishingJob = true
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue