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

Update response for database api #350

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Conversation

imnutz
Copy link
Contributor

@imnutz imnutz commented Jul 17, 2024

Ad user_id and description to the response

@imnutz imnutz force-pushed the update_response_for_database_api branch from 2a8f291 to 7930dc8 Compare July 17, 2024 00:36
@imnutz imnutz requested a review from tung-vu-td July 17, 2024 01:04
Copy link
Contributor

@tung-vu-td tung-vu-td left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@tung-vu-td tung-vu-td left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -30,6 +30,8 @@ public class TDDatabase
private final String id;
private final String name;
private final long count;
private final long userId;
Copy link
Contributor

Choose a reason for hiding this comment

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

In td-client-java, user_id is handled as an integer value as follows:

@JsonProperty("user_id") public abstract Integer getUserId();

It's good to follow the existing data type for user_id as much as possible.

@imnutz imnutz requested a review from a team July 18, 2024 08:42
Copy link

@ylzen ylzen left a comment

Choose a reason for hiding this comment

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

Reviewed for Data Exfiltrations.

@imnutz imnutz merged commit c0ac3b3 into master Jul 19, 2024
7 checks passed
@imnutz imnutz deleted the update_response_for_database_api branch July 19, 2024 00:57
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.

4 participants