From 7c7755085e374af4e342f888912aae0a88f307ac Mon Sep 17 00:00:00 2001 From: Mattias Date: Tue, 2 Apr 2024 17:11:30 +0200 Subject: [PATCH] Add comments for getUnsignedReportsInProject in API --- frontend/src/API/API.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index aa14183..c1480fb 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -160,6 +160,11 @@ interface API { token: string, ): Promise>; + /** Gets all unsigned reports in a project. + * @param {string} projectName The name of the project. + * @param {string} token The authentication token. + * @returns {Promise>} A promise resolving to an API response containing the list of unsigned reports. + */ getUnsignedReportsInProject( projectName: string, token: string,