fix: admin/home: wrong welcome message
Massimo Melina committed
Jun 8, 2026 at 19:13 UTC
91bc327cfe28adbb20c79512cb29a9586724b6a2
1 file changed
+1
-1
src/api.accounts.ts
+1
-1
@@ -44,7 +44,7 @@ export default {
44
},
45
46
get_account({ username }, ctx) {
47
- apiAssertTypes({ string: { username } })
47
+ apiAssertTypes({ string_undefined: { username } })
48
return prepareAccount(getAccount(username || getCurrentUsername(ctx)))
49
|| new ApiError(HTTP_NOT_FOUND)
50
},