mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
Language switching to its own endpoint
This commit is contained in:
@@ -10,7 +10,7 @@ const initial = () => ({
|
||||
})
|
||||
|
||||
export const switchLanguage = (username, language) => {
|
||||
const route = '/users/language'
|
||||
const route = '/language'
|
||||
const prefix = 'SWITCH_LANGUAGE_'
|
||||
const data = { username, language }
|
||||
const method = 'post'
|
||||
|
||||
Reference in New Issue
Block a user