Skip to content

[Plugin] admin token unable to list users #373

Closed

Description

@shopeonarope

Plugin version

3.0.0

Server

Jellyfin

Server version

12.3

Area

API / endpoint

What happened

GET /Moonfin/Admin/Pins returns 200 and an empty list [] even though I have a user with a pin enabled

For some userId:
PUT /Moonfin/Users/{userId}/Pin returns a 404 with {"error":"That user does not exist"} But GET /Users/{userId} returns a 200 with the user data.

I don't see any errors in the logs.

Steps to reproduce

  1. Create an admin token
  2. Use curl to PUT /Moonfin/Users/{userId}/Pin data {"pin":"1234"}
  3. Observe the 404 and the error that the user doesn't exist

Frequency

Always

Screenshot of the problem

Image Image

Server logs / errors (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIBugJellyfin

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions