forked from tangled.org/core
this repo has no description

appview/notify: apply gofmt

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li f4bff878 3acdac8b

verified
Changed files
+5 -5
appview
notify
posthog
+3 -3
appview/notify/notifier.go
···
func (m *BaseNotifier) NewRepo(ctx context.Context, repo *db.Repo) {}
-
func (m *BaseNotifier) NewStar(ctx context.Context, star *db.Star) {}
+
func (m *BaseNotifier) NewStar(ctx context.Context, star *db.Star) {}
func (m *BaseNotifier) DeleteStar(ctx context.Context, star *db.Star) {}
func (m *BaseNotifier) NewIssue(ctx context.Context, issue *db.Issue) {}
-
func (m *BaseNotifier) NewFollow(ctx context.Context, follow *db.Follow) {}
+
func (m *BaseNotifier) NewFollow(ctx context.Context, follow *db.Follow) {}
func (m *BaseNotifier) DeleteFollow(ctx context.Context, follow *db.Follow) {}
-
func (m *BaseNotifier) NewPull(ctx context.Context, pull *db.Pull) {}
+
func (m *BaseNotifier) NewPull(ctx context.Context, pull *db.Pull) {}
func (m *BaseNotifier) NewPullComment(ctx context.Context, comment *db.PullComment) {}
func (m *BaseNotifier) UpdateProfile(ctx context.Context, profile *db.Profile) {}
+2 -2
appview/posthog/notifier.go
···
DistinctId: pull.OwnerDid,
Event: "new_pull",
Properties: posthog.Properties{
-
"repo_at": pull.RepoAt,
+
"repo_at": pull.RepoAt,
"pull_id": pull.PullId,
},
})
···
DistinctId: comment.OwnerDid,
Event: "new_pull_comment",
Properties: posthog.Properties{
-
"repo_at": comment.RepoAt,
+
"repo_at": comment.RepoAt,
"pull_id": comment.PullId,
},
})