fix(files): expose expiry and disable expired downloads
- return expiresAt and createdAt for scenario and run file metadata\n- keep download actions visible while preventing expired file access
This commit is contained in:
@@ -732,6 +732,9 @@ export class ScenarioService {
|
||||
name: item.name,
|
||||
mimeType: item.mimeType,
|
||||
size: item.size,
|
||||
sha256: item.sha256,
|
||||
expiresAt: item.expiresAt,
|
||||
createdAt: item.createdAt,
|
||||
})),
|
||||
total: result.total,
|
||||
};
|
||||
@@ -790,6 +793,9 @@ export class ScenarioService {
|
||||
name: item.name,
|
||||
mimeType: item.mimeType,
|
||||
size: item.size,
|
||||
sha256: item.sha256,
|
||||
expiresAt: item.expiresAt,
|
||||
createdAt: item.createdAt,
|
||||
})),
|
||||
total: result.total,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user