From 4c66cea13abd3dfa5027f238fd159d2b63638b15 Mon Sep 17 00:00:00 2001 From: shaikh-ma <88078876+shaikh-ma@users.noreply.github.com> Date: Fri, 13 Dec 2024 00:32:27 +0530 Subject: [PATCH] Updates as per code review --- scrunch/datasets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrunch/datasets.py b/scrunch/datasets.py index 211cf205..bf23bae5 100644 --- a/scrunch/datasets.py +++ b/scrunch/datasets.py @@ -2424,11 +2424,11 @@ def fork(self, description=None, name=None, is_published=False, ) else: # Create fork in source dataset path. - body["owner"] = self.resource.body.owner + body["project"] = self.resource.body.owner else: if project: # Create fork in given Project path. - body["owner"] = ( + body["project"] = ( project if project.startswith("http") else get_project(project).url ) else: