Skip to content

Commit

Permalink
fix: need quotes on job type key
Browse files Browse the repository at this point in the history
  • Loading branch information
0x330a committed Oct 11, 2023
1 parent c1102a2 commit 82cbf83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ configurations.all {
exclude module: "commons-logging"
}

def canonicalVersionCode = 357
def canonicalVersionCode = 358
def canonicalVersionName = "1.17.3"

def postFixSize = 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SessionJobDatabase(context: Context, helper: SQLCipherOpenHelper) : Databa
= "CREATE TABLE $sessionJobTable ($jobID INTEGER PRIMARY KEY, $jobType STRING, $failureCount INTEGER DEFAULT 0, $serializedData TEXT);"

const val dropAttachmentDownloadJobs =
"DELETE FROM $sessionJobTable WHERE $jobType = ${AttachmentDownloadJob.KEY};"
"DELETE FROM $sessionJobTable WHERE $jobType = '${AttachmentDownloadJob.KEY}';"
}

fun persistJob(job: Job) {
Expand Down

0 comments on commit 82cbf83

Please sign in to comment.