Commit ffb7a87
committed
fix(security): remove fileId from API responses
- Remove internal database ID (fileId) from formatFileResponse
- Remove fileId from formatFilesResponse
- Update LibresignNextcloudFile type definition
- Only expose nodeId which is the Nextcloud file system ID
- Prevents exposure of internal database structure
Signed-off-by: Vitor Mattos <[email protected]>1 parent 614c83e commit ffb7a87
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
688 | 687 | | |
689 | 688 | | |
690 | 689 | | |
| |||
718 | 717 | | |
719 | 718 | | |
720 | 719 | | |
721 | | - | |
| 720 | + | |
722 | 721 | | |
723 | 722 | | |
724 | 723 | | |
725 | | - | |
726 | 724 | | |
727 | 725 | | |
728 | 726 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
0 commit comments