Skip to content

Commit 487678d

Browse files
Khauneesh-AIKeivan Vosoughi
authored and
Keivan Vosoughi
committed
endpoint for example content and worklow parameter set for freeform
1 parent 47c43a3 commit 487678d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ async def get_dataset_size(request:JsonDataSize):
368368
async def get_dataset_size(request: RelativePath):
369369

370370
if request.path:
371-
path = request.path
371+
path = path_manager.get_str_path(request.path)
372+
372373
try:
373374
with open(path) as f:
374375
data = json.load(f)

0 commit comments

Comments
 (0)