Merge pull request #3 from cornedor/create-note-api

Added missing api url part to create_note
This commit is contained in:
bbang-dduck
2025-03-17 00:19:32 +09:00
committed by GitHub

View File

@ -583,7 +583,7 @@ async function createNote(
): Promise<any> { ): Promise<any> {
// ⚙️ 응답 타입은 GitLab API 문서에 따라 조정 가능 // ⚙️ 응답 타입은 GitLab API 문서에 따라 조정 가능
const url = new URL( const url = new URL(
`${GITLAB_API_URL}/projects/${encodeURIComponent( `${GITLAB_API_URL}/api/v4/projects/${encodeURIComponent(
projectId projectId
)}/${noteableType}/${noteableIid}/notes` )}/${noteableType}/${noteableIid}/notes`
); );