mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
core: export: mark pidFilter as optional
This commit is contained in:
2 files changed
+7
-4
No files matched your search
@@ -730,8 +730,8 @@ export class ProblemFilesHandler extends ProblemDetailHandler {
|
||||
files.push({
|
||||
type,
|
||||
name: filename,
|
||||
size: statSync(this.request.files.file.filepath).size,
|
||||
data: () => this.request.files.file.filepath,
|
||||
size: file.size,
|
||||
data: () => file.filepath,
|
||||
});
|
||||
}
|
||||
if (!this.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM)) {
|
||||
|
||||
Reference in new issue
Block a user