Skip to content

numeric usernames coerced to numbers failing the CLI #513

Description

@Rochet2
  1. The API sometimes returns username as a number instead of a string "username": 123123. this seems to happen for users that have a number as their username like this member https://civitai.com/user/2802169344506. So this might be a bug in the API where number in string coerces to number.
  2. The CLI insists on username: string, typed-unmarshal fails, and it reports exit 1 / “unexpected response (status 200) when using civitai images search and encountering such a user.

Either the API or the CLI probably needs a fix.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions