Skip to content

Commit 3773872

Browse files
committed
Run prettier
1 parent 4b4d3c4 commit 3773872

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
import { collabServiceUri } from "@/lib/api/api-uri";
22

33
export const sendAiMessage = async (message: string) => {
4-
console.log(`{collabServiceUri(window.location.hostname)}/send-ai-message`);
5-
console.log(message);
6-
const response = await fetch(`${collabServiceUri(window.location.hostname)}/collab/send-ai-message`, {
7-
method: 'POST',
4+
console.log(`{collabServiceUri(window.location.hostname)}/send-ai-message`);
5+
console.log(message);
6+
const response = await fetch(
7+
`${collabServiceUri(window.location.hostname)}/collab/send-ai-message`,
8+
{
9+
method: "POST",
810
headers: {
9-
'Content-Type': 'application/json',
11+
"Content-Type": "application/json",
1012
},
11-
body: JSON.stringify({message: message}),
12-
});
13-
return response;
14-
}
13+
body: JSON.stringify({ message: message }),
14+
}
15+
);
16+
return response;
17+
};

0 commit comments

Comments
 (0)