From b06aa1ff8822e0bc272351720c34447242ce6b04 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Fri, 23 May 2025 11:41:35 +0800 Subject: [PATCH] fix: unset git branch when name is provided --- internal/branches/create/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/branches/create/create.go b/internal/branches/create/create.go index bf2931b68d..6fce6be013 100644 --- a/internal/branches/create/create.go +++ b/internal/branches/create/create.go @@ -22,8 +22,8 @@ func Run(ctx context.Context, body api.CreateBranchBody, fsys afero.Fs) error { return errors.New(context.Canceled) } body.BranchName = gitBranch + body.GitBranch = &gitBranch } - body.GitBranch = &gitBranch resp, err := utils.GetSupabase().V1CreateABranchWithResponse(ctx, flags.ProjectRef, body) if err != nil {