Skip to content

Commit de1f5b9

Browse files
committed
Update .gitignore to include .idea directory; fix formatting in avatar route and update developer name in main page
1 parent 6b5ea42 commit de1f5b9

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ yarn-error.log*
3939
# typescript
4040
*.tsbuildinfo
4141
next-env.d.ts
42+
43+
.idea

src/app/api/profile/avatar/route.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ export async function PUT(request) {
2222
filename,
2323
contentType,
2424
base64,
25-
updatedAt: new Date()
26-
}
27-
}
25+
updatedAt: new Date(),
26+
},
27+
},
2828
},
2929
{ new: true }
3030
).lean();
3131

3232
return NextResponse.json({
33-
avatar: updatedUser.avatar
33+
avatar: updatedUser.avatar,
3434
});
3535
} catch (error) {
3636
return NextResponse.json({ error: error.message }, { status: 500 });

src/app/page.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default function Main() {
224224
<h3 className="text-lg font-bold hover-scale inline-block">
225225
Developer
226226
</h3>
227-
<p>Marco Essam</p>
227+
<p>Mark Maher Eweida</p>
228228
<a
229229
href="https://marco5dev.me"
230230
target="_blank"

0 commit comments

Comments
 (0)