mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
Fix added issue comment layout.
This commit is contained in:
@@ -53,13 +53,15 @@ trait IssuesService {
|
||||
|
||||
def saveComment(owner: String, repository: String, loginUser: String,
|
||||
issueId: Int, content: String) =
|
||||
IssueComments.autoInc insert (
|
||||
owner,
|
||||
repository,
|
||||
issueId,
|
||||
loginUser,
|
||||
content,
|
||||
currentDate,
|
||||
currentDate)
|
||||
Query(IssueComments) filter {
|
||||
_.commentId is ( IssueComments.autoInc insert (
|
||||
owner,
|
||||
repository,
|
||||
issueId,
|
||||
loginUser,
|
||||
content,
|
||||
currentDate,
|
||||
currentDate) ).bind
|
||||
} firstOption
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user