Skip to content

Commit

Permalink
chore: update resource name migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Jan 28, 2024
1 parent 8c62929 commit ef73299
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion store/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ func (s *Store) MigrateResourceInternalPath(ctx context.Context) error {

// MigrateResourceName migrates resource name from other format to short UUID.
func (s *Store) MigrateResourceName(ctx context.Context) error {
memos, err := s.ListMemos(ctx, &FindMemo{})
memos, err := s.ListMemos(ctx, &FindMemo{
ExcludeContent: true,
})
if err != nil {
return errors.Wrap(err, "failed to list memos")
}
Expand Down

0 comments on commit ef73299

Please sign in to comment.