mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-31 22:41:03 +00:00
fix some linting issues
This commit is contained in:
parent
976d79044f
commit
92d011f1a5
8 changed files with 28 additions and 25 deletions
|
|
@ -18,7 +18,7 @@ type ForgeLike struct {
|
|||
ap.Activity
|
||||
}
|
||||
|
||||
func NewForgeLike(actorIRI string, objectIRI string, startTime time.Time) (ForgeLike, error) {
|
||||
func NewForgeLike(actorIRI, objectIRI string, startTime time.Time) (ForgeLike, error) {
|
||||
result := ForgeLike{}
|
||||
result.Type = ap.LikeType
|
||||
// ToDo: Would validating the source by Actor.Type field make sense?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue