chore: tweak resource payload

This commit is contained in:
Steven
2024-05-17 08:50:02 +08:00
parent 0c251f9ab8
commit b0aad6f694
11 changed files with 259 additions and 226 deletions

View File

@ -373,6 +373,7 @@ func SaveResourceBlob(ctx context.Context, s *store.Store, create *store.Resourc
create.Payload = &storepb.ResourcePayload{
Payload: &storepb.ResourcePayload_S3Object_{
S3Object: &storepb.ResourcePayload_S3Object{
S3Config: s3Config,
Key: key,
LastPresignedTime: timestamppb.New(time.Now()),
},