From ff146a9430ab59774b63bf8728f7f1dc320f0bb8 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 20 Dec 2023 11:27:44 +0100 Subject: [PATCH] Add review todos --- routers/api/v1/activitypub/repository.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 2a13510f3c..5e7d2cc437 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -3,6 +3,9 @@ package activitypub +// ToDo: Fix linting +// ToDo: Maybe do a request for the node info +// Then maybe save the node info in a DB table - this could be useful for validation import ( "fmt" "io" @@ -177,6 +180,7 @@ func SearchUsersByLoginName(loginName string) ([]*user_model.User, error) { } +// ToDo: Maybe use externalLoginUser func createUserFromAP(ctx *context.APIContext, personId forgefed.PersonId) (*user_model.User, error) { // ToDo: Do we get a publicKeyId from server, repo or owner or repo? var actionsUser = user_model.NewActionsUser()