WIP Refactoring and solving (adding) ToDos

This commit is contained in:
erik 2024-04-12 14:33:47 +02:00
commit 71141a5ff3
9 changed files with 19 additions and 19 deletions

View file

@ -21,7 +21,6 @@ type ForgeLike struct {
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?
result.Actor = ap.IRI(actorIRI) // Thats us, a User
result.Object = ap.IRI(objectIRI) // Thats them, a Repository
result.StartTime = startTime