diff options
author | 2022-05-29 17:45:54 +0100 | |
---|---|---|
committer | 2022-05-29 17:45:54 +0100 | |
commit | 308d07785f811ff470d0e90b11680926a823027b (patch) | |
tree | 7afe7859fc29f6a5c34be8b7b486cc317cc82e21 /apps/Settings | |
parent | 50d781d0bdcac217f2bc037abe087a00019edba5 (diff) | |
download | my_apps-308d07785f811ff470d0e90b11680926a823027b.tar.gz my_apps-308d07785f811ff470d0e90b11680926a823027b.tar.bz2 my_apps-308d07785f811ff470d0e90b11680926a823027b.zip |
add change password option
Diffstat (limited to 'apps/Settings')
-rw-r--r-- | apps/Settings/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/Settings/api.js b/apps/Settings/api.js index f538368..142afc1 100644 --- a/apps/Settings/api.js +++ b/apps/Settings/api.js @@ -1,9 +1,9 @@ import fetchJson from 'helpers/fetchJson' -export const saveSettings = async (data) => { +export const saveSettings = async (data) => ( fetchJson('/api/settings', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }) -} +) |