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

Implement getUserProfile #25

Merged
merged 3 commits into from
Nov 14, 2023
Merged

Implement getUserProfile #25

merged 3 commits into from
Nov 14, 2023

Conversation

Arnan-Dee
Copy link
Contributor

REQ & RES look like
image

user.proto

service UserService {
  rpc GetUserSportArea(GetUserSportAreaRequest) returns (GetUserSportAreaResponse) {}
  rpc GetUserProfile(GetUserProfileRequest) returns (GetUserProfileResponse) {}
}


message GetUserProfileRequest {
  string userId = 1;
}

message GetUserProfileResponse {
  string id = 1;
  string firstName = 2;
  string lastName = 3;
  string email = 4;
  string profileUrl = 5;
  string role = 6;
  string sportAreaId = 7;
}

src/user/user.service.ts Outdated Show resolved Hide resolved
@Arnan-Dee Arnan-Dee merged commit 5837e9f into dev Nov 14, 2023
2 checks passed
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