8000 New Inventory Backend: Endpoint to save user language · Issue #1915 · leihs/leihs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New Inventory Backend: Endpoint to save user language #1915
@urs-van-binsbergen

Description

@urs-van-binsbergen

In Leihs the selected language (locale) of each user is saved in the users table. This happens on every switch of the language in UI.

Create an endpoint for this and implement the DB save. There is a function in shared-clj which does the DB plumbing (already used by Borrow, My, Procure, Admin):

https://github.com/leihs/leihs-clj-shared/blob/master/src/leihs/core/language/back.clj

I'm not sure whether it is compatible with the inventory stack. Otherwise create a copy in Inventory and adapt to the requirements.

Metadata

Metadata

Assignees

Labels

Projects

Status

Ready to start

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0