mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 11:20:42 +00:00
Add ToDo
This commit is contained in:
parent
33c60ebdff
commit
765298814c
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ import (
|
|||
"code.gitea.io/gitea/services/federation"
|
||||
)
|
||||
|
||||
// ToDo: Consistent Naming, smth like StarLocalAndFollowingRepo
|
||||
func StarRepoAndFederate(ctx context.Context, doer user.User, repoID int64, star bool) error {
|
||||
if err := repo.StarRepo(ctx, doer.ID, repoID, star); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue