Skip to content

Commit bbf4244

Browse files
authored
Merge pull request #199 from hannesa2/FixNPE
Fix NPW on no given token
2 parents 2e283f3 + 07134eb commit bbf4244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

githubAppUpdate/src/main/java/info/hannes/github/DownloadWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DownloadWorker(private val appContext: Context, workerParams: WorkerParame
1313
// Get the input
1414
val currentVersion = inputData.getString(CURRENT_VERSION)!!
1515
val repoUrl = inputData.getString(REPO_URL)!!
16-
val token = inputData.getString(TOKEN)!!
16+
val token = inputData.getString(TOKEN)
1717

1818
val d = async {
1919
check(currentVersion, repoUrl, token)

0 commit comments

Comments
 (0)