mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-13 22:00:19 -04:00
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:
@@ -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>> {
|
||||
|
||||
Reference in New Issue
Block a user