chore: address some TODOs

This commit is contained in:
DevMiner 2024-08-24 14:35:19 +02:00
parent fe293c2b89
commit 810ba06c5d
8 changed files with 65 additions and 28 deletions

View file

@ -48,7 +48,6 @@ func (i RequestValidatorImpl) Validate(ctx context.Context, r *http.Request) err
return err
}
// TODO: Fetch user from database instead of using the URI
user, err := i.repositories.Users().Resolve(ctx, versiautils.URLFromStd(fedHeaders.SignedBy))
if err != nil {
return err