mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: use username instead of uid (#1977)
* #1916 replace userId to username * resolve --------- Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
This commit is contained in:
committed by
GitHub
parent
336b32004d
commit
f91f09adea
@ -32,7 +32,6 @@ func TestSystemServer(t *testing.T) {
|
||||
status, err = s.getSystemStatus()
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, user.ID, status.Host.ID)
|
||||
require.Equal(t, user.Username, status.Host.Username)
|
||||
}
|
||||
|
||||
func (s *TestingServer) getSystemStatus() (*apiv1.SystemStatus, error) {
|
||||
|
Reference in New Issue
Block a user