Skip to content

Commit cd33460

Browse files
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

File tree

src/components/GuestList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
:key="guest.email + '-details'"
6060
class="details">
6161
<td colspan="5">
62-
<GuestDetails :guestId="guest.email" />
62+
<GuestDetails :guestId="guest.uid" />
6363
</td>
6464
</tr>
6565
</template>

0 commit comments

Comments
 (0)