when a new unit is created there is not any meta for it until its creator submits one. but files are not like that. when you upload one, system saves the file into disk and creates its meta both at once. so in /files/:file_id (GET) there is not any need to check whether its meta exists or not. even if thats only a ts type guard just throw an internal error in case that doesn't exist
when a new unit is created there is not any meta for it until its creator submits one. but files are not like that. when you upload one, system saves the file into disk and creates its meta both at once. so in /files/:file_id (GET) there is not any need to check whether its meta exists or not. even if thats only a ts type guard just throw an internal error in case that doesn't exist