feat: update keyboard shortcuts client endpoint (#46378)

* feat: update keyboard shortcuts client endpoint

* Update client/src/redux/settings/settings-sagas.js

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update putUpdateMyKeyboardShortcuts return type

* Use new saga in shortcuts-modal

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Radi Totev
2022-07-01 19:38:06 +01:00
committed by GitHub
parent 3628d5ab52
commit e17e57aba5
8 changed files with 40 additions and 34 deletions

View File

@@ -324,6 +324,12 @@ export function putUpdateMyTheme(
return put('/update-my-theme', update);
}
export function putUpdateMyKeyboardShortcuts(
update: Record<string, string>
): Promise<ResponseWithData<void>> {
return put('/update-my-keyboard-shortcuts', update);
}
export function putUpdateMyHonesty(
update: Record<string, string>
): Promise<ResponseWithData<void>> {