Initialize files slice with make() to ensure JSON serialization returns [] instead of null when no files exist. Prevents frontend TypeError when calling .map() on null.
3.7 KiB
3.7 KiB