Commit cd33460
committed
fix(settings): Load guest details by user id instead of email
The guest list passed the email address to GuestDetails, which requests
/apps/guests/api/v1/users/{userId}. That endpoint resolves shares by
user id, and hashing the email into the user id is the default, so
expanding a row showed an empty share list even though the "Received
shares" column of the very same row reported shares.
Verified against a guest with one incoming share: getGuestInfo() returns
one share for the user id and none for the email address.
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>1 parent 2e92437 commit cd33460
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments