+3
-3
appview/notify/notifier.go
+3
-3
appview/notify/notifier.go
···
30
31
func (m *BaseNotifier) NewRepo(ctx context.Context, repo *db.Repo) {}
32
33
-
func (m *BaseNotifier) NewStar(ctx context.Context, star *db.Star) {}
34
func (m *BaseNotifier) DeleteStar(ctx context.Context, star *db.Star) {}
35
36
func (m *BaseNotifier) NewIssue(ctx context.Context, issue *db.Issue) {}
37
38
-
func (m *BaseNotifier) NewFollow(ctx context.Context, follow *db.Follow) {}
39
func (m *BaseNotifier) DeleteFollow(ctx context.Context, follow *db.Follow) {}
40
41
-
func (m *BaseNotifier) NewPull(ctx context.Context, pull *db.Pull) {}
42
func (m *BaseNotifier) NewPullComment(ctx context.Context, comment *db.PullComment) {}
43
44
func (m *BaseNotifier) UpdateProfile(ctx context.Context, profile *db.Profile) {}
···
30
31
func (m *BaseNotifier) NewRepo(ctx context.Context, repo *db.Repo) {}
32
33
+
func (m *BaseNotifier) NewStar(ctx context.Context, star *db.Star) {}
34
func (m *BaseNotifier) DeleteStar(ctx context.Context, star *db.Star) {}
35
36
func (m *BaseNotifier) NewIssue(ctx context.Context, issue *db.Issue) {}
37
38
+
func (m *BaseNotifier) NewFollow(ctx context.Context, follow *db.Follow) {}
39
func (m *BaseNotifier) DeleteFollow(ctx context.Context, follow *db.Follow) {}
40
41
+
func (m *BaseNotifier) NewPull(ctx context.Context, pull *db.Pull) {}
42
func (m *BaseNotifier) NewPullComment(ctx context.Context, comment *db.PullComment) {}
43
44
func (m *BaseNotifier) UpdateProfile(ctx context.Context, profile *db.Profile) {}
+2
-2
appview/posthog/notifier.go
+2
-2
appview/posthog/notifier.go
···
75
DistinctId: pull.OwnerDid,
76
Event: "new_pull",
77
Properties: posthog.Properties{
78
-
"repo_at": pull.RepoAt,
79
"pull_id": pull.PullId,
80
},
81
})
···
89
DistinctId: comment.OwnerDid,
90
Event: "new_pull_comment",
91
Properties: posthog.Properties{
92
-
"repo_at": comment.RepoAt,
93
"pull_id": comment.PullId,
94
},
95
})
···
75
DistinctId: pull.OwnerDid,
76
Event: "new_pull",
77
Properties: posthog.Properties{
78
+
"repo_at": pull.RepoAt,
79
"pull_id": pull.PullId,
80
},
81
})
···
89
DistinctId: comment.OwnerDid,
90
Event: "new_pull_comment",
91
Properties: posthog.Properties{
92
+
"repo_at": comment.RepoAt,
93
"pull_id": comment.PullId,
94
},
95
})