Skip to content

Commit 468f4b4

Browse files
committed
fix: change in builder url
1 parent 23ab269 commit 468f4b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app/slices/auth.api.slice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const authApiSlice = apiSlice.injectEndpoints({
2525
}),
2626
AddAnnouncementEndpoint: builder.mutation({
2727
query: (data) => ({
28-
url: "/api/Users/AddAnnouncement",
28+
url: "/api/Announcements/AddAnnouncement",
2929
method: "POST",
3030
body: data,
3131
}),

src/components/UserProfile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const UserProfile = () => {
4040
<p style={{ fontWeight: 'bold', marginBottom: '4px' }}>Name: {userState.user.firstName} {userState.user.lastName}</p>
4141
<p style={{ fontWeight: 'bold', marginBottom: '4px' }}>Email: {userState.user.email}</p>
4242
<p style={{ fontWeight: 'bold', marginBottom: '4px' }}>Department: IT</p>
43-
<p style={{ fontWeight: 'bold', marginBottom: '4px' }}>Position: {userState.user.jobPosition.name}</p>
43+
<p style={{ fontWeight: 'bold', marginBottom: '4px' }}>Position: {userState.user.jobPosition?.name}</p>
4444
</div>
4545
</div>
4646
<Divider />

src/pages/UpdateAccount.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const UpdateAccount: React.FC = () => {
9696
</Form.Item>
9797
<Form.Item name="selfDescription">
9898
<Input.TextArea
99-
maxLength={30}
99+
maxLength={90}
100100
placeholder="Something about yourself!"
101101
style={{ resize: 'none' }}
102102
/>

0 commit comments

Comments
 (0)