Skip to content

Commit a810eb2

Browse files
committed
refactor(api): fix JSDoc on revokedUserAccessRepository
1 parent b64d271 commit a810eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/identity-access-management/infrastructure/repositories/revoked-user-access.repository.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const saveForUser = async function ({ userId, revokeUntil }) {
3434
* Retrieves the revoked access for a user from the temporary storage.
3535
*
3636
* @param {string} userId - The ID of the user to retrieve the revocation date for.
37-
* @returns {RevokedUserAccess} - The revoked user access object.
37+
* @returns {Promise<RevokedUserAccess>} - The revoked user access object.
3838
*/
3939
const findByUserId = async function (userId) {
4040
const value = await revokedUserAccessTemporaryStorage.get(userId);

0 commit comments

Comments
 (0)