mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: add vacuum memo relation to dev guard (#1644)
* chore: add vacuum memo relation to dev guard * chore: update
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user