diff options
| author | Shpuld Shpuldson <shpuld@shpposter.club> | 2020-01-27 18:43:26 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@shpposter.club> | 2020-01-27 18:43:26 +0200 |
| commit | e6291e4ee179ab85f212b1eef7d9e03565e6a8f8 (patch) | |
| tree | 51cbc8fc5bc8c9f0943684564d23ddec7c48dc19 /src | |
| parent | e4e3a28838f431872ab5fd6b10bb8db4a03af389 (diff) | |
remove unnecessary anonymous function
Diffstat (limited to 'src')
| -rw-r--r-- | src/services/api/api.service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index aa31f123..11aa0675 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -894,7 +894,7 @@ const reactWithEmoji = ({ id, emoji, credentials }) => { method: 'POST', credentials, payload: { emoji } - }).then(status => parseStatus(status)) + }).then(parseStatus) } const unreactWithEmoji = ({ id, emoji, credentials }) => { |
