mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
Create issue comment.
This commit is contained in:
@@ -51,4 +51,15 @@ trait IssuesService {
|
||||
}.map(_.issueId).update(id) > 0
|
||||
} get
|
||||
|
||||
def saveComment(owner: String, repository: String, loginUser: String,
|
||||
issueId: Int, content: String) =
|
||||
IssueComments.autoInc insert (
|
||||
owner,
|
||||
repository,
|
||||
issueId,
|
||||
loginUser,
|
||||
content,
|
||||
currentDate,
|
||||
currentDate)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user