Skip to content

Commit d55216a

Browse files
committed
lint
1 parent 8cf988c commit d55216a

File tree

1 file changed

+5
-7
lines changed
  • apps/sim/app/api/tools/confluence/selector-spaces

1 file changed

+5
-7
lines changed

apps/sim/app/api/tools/confluence/selector-spaces/route.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,11 @@ export async function POST(request: Request) {
7979
}
8080

8181
const data = await response.json()
82-
const spaces = (data.results || []).map(
83-
(space: { id: string; name: string; key: string }) => ({
84-
id: space.id,
85-
name: space.name,
86-
key: space.key,
87-
})
88-
)
82+
const spaces = (data.results || []).map((space: { id: string; name: string; key: string }) => ({
83+
id: space.id,
84+
name: space.name,
85+
key: space.key,
86+
}))
8987

9088
return NextResponse.json({ spaces })
9189
} catch (error) {

0 commit comments

Comments
 (0)