Skip to content
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

Photo.php: add no_fallback parameter #140

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

tobast
Copy link
Contributor

@tobast tobast commented Jun 26, 2024

This PR adds a no_fallback GET parameter to photo.php. When set, whitepages won't fall back to the default photo, but will return a 404 status code instead.

This is useful eg. to use an application's internal profile picture default instead of whitepages', when this endpoint is used for an application to retrieve the user's picture.

@coudot coudot added this to the 0.5 milestone Jun 26, 2024
@coudot coudot merged commit 3f00fb4 into ltb-project:master Jun 26, 2024
@coudot
Copy link
Member

coudot commented Jun 26, 2024

Thanks, useful feature!

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

Successfully merging this pull request may close these issues.

2 participants