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

Outbox responds appropriately when another server makes GET request when sending a status to own server #127

Merged
merged 6 commits into from
Mar 25, 2024

Conversation

shirlsli
Copy link
Collaborator

  • Sends back correct outbox JSON

*/
String returnID = MothController.BASE_URL + "/users/" + id + "outbox";
int pageSize = limit != null ? limit : DEFAULT_PAGE_SIZE;
return new OutboxSenderResponse(returnID, "OrderedCollection", 3, returnID + "?page=1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i notice you hard code 3 things in. is this going to create a problem since you aren't including anything? perhaps hardcoding 0 would be better?

@breed breed merged commit 46b352d into main Mar 25, 2024
1 check passed
@breed breed deleted the status-send branch March 25, 2024 23:22
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.

2 participants