Skip to content

Commit

Permalink
Merge pull request #106 from alfredotoselli/chore/new-user-message
Browse files Browse the repository at this point in the history
chore: changed message on user creation
  • Loading branch information
zAlweNy26 authored Oct 15, 2024
2 parents 15615f6 + 6628bb8 commit 1925d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/UserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const UserService = Object.freeze({
createUser: async (user: UserCreate) => {
return await tryRequest(
apiClient?.api?.users.createUser(user),
'All in-memory collections were wiped',
'Unable to wipe the in-memory collections',
`User ${user.username} was created successfully`,
`Unable to create user ${user.username}`,
)
},
updateUser: async (id: string, body: UserUpdate) => {
Expand Down

0 comments on commit 1925d00

Please sign in to comment.