Fixes
This commit is contained in:
parent
a5ebab5bc9
commit
480408b9cd
@ -340,7 +340,7 @@ func handleAccessReview(rw http.ResponseWriter, req *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
historyResult, err := db.Exec("INSERT INTO history(date, reviewId) VALUES(NOW(), ?)", request.Id)
|
||||
historyResult, err := db.Exec("INSERT INTO history(date, reviewId) VALUES(DATETIME('now'), ?)", request.Id)
|
||||
if err != nil {
|
||||
http.Error(rw, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
|
@ -91,8 +91,6 @@
|
||||
}
|
||||
|
||||
$.post('/access', JSON.stringify({id: id, profile: getProfile()}));
|
||||
|
||||
onSearch();
|
||||
};
|
||||
|
||||
window.sortReviewsBy = function(sortKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user