Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: type in settings.js (#10378)
Browse files Browse the repository at this point in the history
Fix doc mistake for profile
  • Loading branch information
yagyesh-bobde authored Jun 8, 2024
1 parent 0de3068 commit f296ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/account/manage/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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." };
}

Expand Down

0 comments on commit f296ab2

Please sign in to comment.