chore: use api v2 in archived page

This commit is contained in:
Steven
2023-12-19 23:49:24 +08:00
parent abc14217f6
commit 5334fdf1b2
15 changed files with 474 additions and 442 deletions

View File

@@ -95,7 +95,7 @@ func (s *APIV2Service) convertResourceFromStore(ctx context.Context, resource *s
return &apiv2pb.Resource{
Id: resource.ID,
CreatedTs: timestamppb.New(time.Unix(resource.CreatedTs, 0)),
CreateTime: timestamppb.New(time.Unix(resource.CreatedTs, 0)),
Filename: resource.Filename,
ExternalLink: resource.ExternalLink,
Type: resource.Type,