Add file attachments

This commit is contained in:
Maksim Eltyshev
2020-04-21 05:44:12 +05:00
parent 202abacaec
commit 6a68ec9c1e
103 changed files with 1847 additions and 305 deletions
+3 -3
View File
@@ -63,10 +63,10 @@ export const clearCurrentUserUsernameUpdateError = () => ({
payload: {},
});
export const uploadCurrentUserAvatar = (file) => ({
type: EntryActionTypes.CURRENT_USER_AVATAR_UPLOAD,
export const updateCurrentUserAvatar = (data) => ({
type: EntryActionTypes.CURRENT_USER_AVATAR_UPDATE,
payload: {
file,
data,
},
});