diff --git a/src/extension.ts b/src/extension.ts index 4cfe135..e3ad9e0 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -42,7 +42,7 @@ export function activate(context: vscode.ExtensionContext) { console.log('Opened file:', filePath); // vscode.window.showInformationMessage(`Opened file: ${filePath}`); - await makeHttpRequest({ event: 'open', project: extractProjectName(filePath), filePath }); + await makeHttpRequest({ event: 'open', project: extractProjectName(filePath) }); } }); @@ -52,7 +52,7 @@ export function activate(context: vscode.ExtensionContext) { console.log('Saved file:', filePath); // vscode.window.showInformationMessage(`Saved file: ${filePath}`); - await makeHttpRequest({ event: 'save', project: extractProjectName(filePath), filePath }); + await makeHttpRequest({ event: 'save', project: extractProjectName(filePath) }); }); // detecte un focus / blur de la fenetre vscode