Skip to content

Commit 4a0506f

Browse files
committed
format
1 parent bb55c9d commit 4a0506f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/webapp/app/routes/api.v1.projects.$projectRef.branches.archive.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
109109
where: {
110110
organization: organizationFilter,
111111
// Dev branches are per-org-member: only the owner may archive their own.
112-
...(authenticationResult.type === "personalAccessToken" &&
113-
environmentType === "DEVELOPMENT"
112+
...(authenticationResult.type === "personalAccessToken" && environmentType === "DEVELOPMENT"
114113
? { orgMember: { userId: authenticationResult.result.userId } }
115114
: {}),
116115
project: {

0 commit comments

Comments
 (0)