diff --git a/index.ts b/index.ts index 17f6751..ad1dbeb 100644 --- a/index.ts +++ b/index.ts @@ -583,9 +583,9 @@ async function createNote( ): Promise { // ⚙️ 응답 타입은 GitLab API 문서에 따라 조정 가능 const url = new URL( - `${GITLAB_API_URL}/api/v4/projects/${encodeURIComponent( + `${GITLAB_API_URL}/projects/${encodeURIComponent( projectId - )}/${noteableType}/${noteableIid}/notes` + )}/${noteableType}s/${noteableIid}/notes` // Using plural form (issues/merge_requests) as per GitLab API documentation ); const response = await fetch(url.toString(), {