Closed fearnlj01 closed 1 year ago
/api/v3/File/PathEndsWith was receiving the path as a null paramater when passed as a query rather than path. (Working fine when passed as a path)
/api/v3/File/PathEndsWith
I don't fully understand my own change, but I couldn't find any other instances of [FromRoute, FromQuery] being used so I tweaked & tested.
[FromRoute, FromQuery]
This seems to fix the aforementioned issue, at least on my equipment.
To be fair, I don't think we have any other instances that support both, so that would be why you didn't see it elsewhere.
My bad
/api/v3/File/PathEndsWith
was receiving the path as a null paramater when passed as a query rather than path. (Working fine when passed as a path)I don't fully understand my own change, but I couldn't find any other instances of
[FromRoute, FromQuery]
being used so I tweaked & tested.This seems to fix the aforementioned issue, at least on my equipment.