8000 feat(models): Added is_accept_request variable to UserInfo class. by ryohidaka · Pull Request #407 · upbit/pixivpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(models): Added is_accept_request variable to UserInfo class. #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryohidaka
Copy link
@ryohidaka ryohidaka commented May 8, 2025

What this PR does?

Added is_accept_request variable to UserInfo class.

What this PR does in details?

Fixed UserInfo class because the response structure of user_following and user_follower had changed as follows

{
	"user_previews": [
		{
			"user": {
				"id": 0,
				"name": "hoge",
				"account": "hoge",
				"profile_image_urls": {
					"medium": "https:\/\/s.pximg.net\/common\/images\/no_profile.png"
				},
				"is_followed": true,
				"is_accept_request": false // <- this
			},
                }
        ],
}

@ryohidaka ryohidaka force-pushed the feature/add_is_accept_request branch from c12a5de to ce4e39b Compare May 9, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0