diff options
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go index ceee9997a4..978e805c88 100644 --- a/models/action.go +++ b/models/action.go @@ -44,6 +44,10 @@ func (a Action) GetRepoName() string { return a.RepoName } +func (a Action) GetContent() string { + return a.Content +} + // CommitRepoAction records action for commit repository. func CommitRepoAction(userId int64, userName string, repoId int64, repoName string, commits [][]string) error { |