Skip to content

Commit

Permalink
Merge 390f40d into 0f9af63
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohan9 committed May 19, 2021
2 parents 0f9af63 + 390f40d commit 6d67770
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bothub/api/grpc/organization/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def List(self, request, context):

def Create(self, request, context):
user, created = User.objects.get_or_create(
email=request.user_email, defaults={"nickname": request.user_nickname}
email=request.user_email, defaults={"nickname": request.user_email}
)

serializer = OrgCreateProtoSerializer(message=request)
Expand Down
1 change: 0 additions & 1 deletion bothub/protos/organization.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ message OrgListRequest {
message OrgCreateRequest {
string organization_name = 1;
string user_email = 2;
string user_nickname = 3;
}

message OrgDestroyRequest {
Expand Down

0 comments on commit 6d67770

Please sign in to comment.