feat(chat): 외부 캐릭터 챗 세션 API URL 수정
- /api/session/... -> /api/sessions/...
This commit is contained in:
parent
005bb0ea2e
commit
6f9fc659f3
|
@ -150,7 +150,7 @@ class ChatRoomService(
|
||||||
val httpEntity = HttpEntity(requestBody, headers)
|
val httpEntity = HttpEntity(requestBody, headers)
|
||||||
|
|
||||||
val response = restTemplate.exchange(
|
val response = restTemplate.exchange(
|
||||||
"$apiUrl/api/session",
|
"$apiUrl/api/sessions",
|
||||||
HttpMethod.POST,
|
HttpMethod.POST,
|
||||||
httpEntity,
|
httpEntity,
|
||||||
String::class.java
|
String::class.java
|
||||||
|
@ -238,7 +238,7 @@ class ChatRoomService(
|
||||||
val httpEntity = HttpEntity(null, headers)
|
val httpEntity = HttpEntity(null, headers)
|
||||||
|
|
||||||
val response = restTemplate.exchange(
|
val response = restTemplate.exchange(
|
||||||
"$apiUrl/api/session/$sessionId",
|
"$apiUrl/api/sessions/$sessionId",
|
||||||
HttpMethod.GET,
|
HttpMethod.GET,
|
||||||
httpEntity,
|
httpEntity,
|
||||||
String::class.java
|
String::class.java
|
||||||
|
@ -307,7 +307,7 @@ class ChatRoomService(
|
||||||
val httpEntity = HttpEntity(null, headers)
|
val httpEntity = HttpEntity(null, headers)
|
||||||
|
|
||||||
val response = restTemplate.exchange(
|
val response = restTemplate.exchange(
|
||||||
"$apiUrl/api/session/$sessionId/end",
|
"$apiUrl/api/sessions/$sessionId/end",
|
||||||
HttpMethod.PUT,
|
HttpMethod.PUT,
|
||||||
httpEntity,
|
httpEntity,
|
||||||
String::class.java
|
String::class.java
|
||||||
|
|
Loading…
Reference in New Issue