mirror of
https://github.com/plankanban/planka.git
synced 2025-12-25 17:25:01 +03:00
Add username to user
This commit is contained in:
@@ -51,6 +51,18 @@ export const clearCurrentUserPasswordUpdateError = () => ({
|
||||
payload: {},
|
||||
});
|
||||
|
||||
export const updateCurrentUserUsername = (data) => ({
|
||||
type: EntryActionTypes.CURRENT_USER_USERNAME_UPDATE,
|
||||
payload: {
|
||||
data,
|
||||
},
|
||||
});
|
||||
|
||||
export const clearCurrentUserUsernameUpdateError = () => ({
|
||||
type: EntryActionTypes.CURRENT_USER_USERNAME_UPDATE_ERROR_CLEAR,
|
||||
payload: {},
|
||||
});
|
||||
|
||||
export const uploadCurrentUserAvatar = (file) => ({
|
||||
type: EntryActionTypes.CURRENT_USER_AVATAR_UPLOAD,
|
||||
payload: {
|
||||
|
||||
Reference in New Issue
Block a user