From f296ab2d47555fe967b57ec7173e54f9b2eef039 Mon Sep 17 00:00:00 2001 From: Yagyesh Bobde <90238742+yagyesh-bobde@users.noreply.github.com> Date: Sat, 8 Jun 2024 16:18:22 +0530 Subject: [PATCH] fix: type in settings.js (#10378) Fix doc mistake for profile --- pages/api/account/manage/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/account/manage/settings.js b/pages/api/account/manage/settings.js index 649f45d8e7b..9c3a26f8eea 100644 --- a/pages/api/account/manage/settings.js +++ b/pages/api/account/manage/settings.js @@ -78,7 +78,7 @@ export async function getSettingsApi(username) { let getProfile = await Profile.findOne({ username }, ["settings"]); if (!getProfile) { - log.info(`peofile not found for username: ${username}`); + log.info(`profile not found for username: ${username}`); return { error: "Profile not found." }; }