<commit_before>import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import { fetchCurrentUserDetails } from "../../../apis/users/user";

/**
 * @file Redux slice for the current user
 */

/**
 * Async thunk for fetching information about the currently logged in user.
 * @type {AsyncThunk<{details: unknown}, void, {}>}
 */
export const getCurrentUserDetails = createAsyncThunk(
  `user/getCurrentUserDetails`,
  async (projectId) => {
    const details = await fetchCurrentUserDetails({ projectId });<commit_msg>Removed unused parameter<commit_after>import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import { fetchCurrentUserDetails } from "../../../apis/users/user";

/**
 * @file Redux slice for the current user
 */

/**
 * Async thunk for fetching information about the currently logged in user.
 * @type {AsyncThunk<{details: unknown}, void, {}>}
 */
export const getCurrentUserDetails = createAsyncThunk(
  `user/getCurrentUserDetails`,
  async () => {
    const details = await fetchCurrentUserDetails();
{'fraction_non_alphanumeric': 0.1344860710854947, 'fraction_numerical': 0.0, 'mean_word_length': 4.632432432432433, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2559918', 'n_tokens_mistral': 288, 'n_tokens_neox': 291, 'n_words': 86}