chore: add vacuum memo relation to dev guard (#1644)

* chore: add vacuum memo relation to dev guard

* chore: update
This commit is contained in:
boojack
2023-05-09 09:02:59 +08:00
committed by GitHub
parent 84546ff11c
commit 9b8d69b2dd
5 changed files with 14 additions and 14 deletions

View File

@@ -38,7 +38,7 @@ func (raw *activityRaw) toActivity() *api.Activity {
// CreateActivity creates an instance of Activity.
func (s *Store) CreateActivity(ctx context.Context, create *api.ActivityCreate) (*api.Activity, error) {
if s.profile.Mode == "prod" {
if s.Profile.Mode == "prod" {
return nil, nil
}