Commit c9730920 authored by Areum Kim's avatar Areum Kim
Browse files

[Issue, #36] resolve a thread

parent cf917297
Pipeline #77959 passed with stages
in 2 minutes and 56 seconds
......@@ -71,11 +71,12 @@ class FAQDataRepository {
}
fun addTimestamp(id: String): Boolean {
var getFaqDataById = getFaqDataById(id)
var status = true
if (getFaqDataById(id).toString() == "null") {
if (getFaqDataById.toString() == "null") {
status = false
} else { // add time for every update
val changeTimeStamp = getFaqDataById(id)?.changeTimestamp
val changeTimeStamp = getFaqDataById?.changeTimestamp
changeTimeStamp?.add(setTimestamp())
updateChangeTimeStamp(id, changeTimeStamp!!)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment