Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fokolo committed Sep 17, 2024
1 parent 2baf753 commit 5e50c47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"@types/luxon": "^3.3.1",
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"@types/validator": "^13.12.2",
"@types/uuid": "^10.0.0",
"@types/validator": "^13.12.2",
"copyfiles": "^2.4.1",
"ts-jest": "^29.1.4",
"typescript": "^4.8.4"
Expand Down
10 changes: 5 additions & 5 deletions src/api/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ export type PortEntity = {

export default async function search(
backendApiUrl: string,
searchQuery: object,
searchQuery: object
): Promise<PortEntity[]> {
const response = await fetch(
`${backendApiUrl}/api/proxy/getport/entities/search`,
{
method: 'POST',
credentials: 'include',
method: "POST",
credentials: "include",
headers: {
'Content-Type': 'application/json',
"Content-Type": "application/json",
},
body: JSON.stringify(searchQuery),
},
}
);
const json = await response.json();

Expand Down

0 comments on commit 5e50c47

Please sign in to comment.