Skip to content

Commit bd10544

Browse files
authored
user creation: fixed incorrect "displayname" param (#240)
Fixes #239 Signed-off-by: Alexander Piskun <[email protected]>
1 parent 8ad89cb commit bd10544

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.12.1 - 2024-04-05]
6+
7+
### Fixed
8+
9+
- Incorrect `Display name` when creating user, which led to the parameter being ignored. #239 Thanks to @derekbuckley
10+
511
## [0.12.0 - 2024-04-02]
612

713
Update with new features only for `NextcloudApp` class. #233
814

915
### Added
1016

11-
- `ex_app.get_computation_device` function for retrieving GPU type(only with AppAPI `2.4.0`+).
17+
- `ex_app.get_computation_device` function for retrieving GPU type(only with AppAPI `2.5.0`+).
1218
- `ex_app.integration_fastapi.fetch_models_task` are now public function, added `progress_init_start_value` param.
1319
- Global authentication when used now sets `request.scope["username"]` for easy use.
1420

nc_py_api/users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,5 +378,5 @@ def _create(user_id: str, display_name: str | None, **kwargs) -> dict[str, typin
378378
if k in kwargs:
379379
data[k] = kwargs[k]
380380
if display_name is not None:
381-
data["displayname"] = display_name
381+
data["displayName"] = display_name
382382
return data

0 commit comments

Comments
 (0)