Skip to content

Commit

Permalink
leave the owner set
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Jul 18, 2022
1 parent d99523b commit 060fa86
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions services/graph/pkg/service/v0/drives.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,6 @@ func (g Graph) CreateDrive(w http.ResponseWriter, r *http.Request) {
csr.Opaque = utils.AppendPlainToOpaque(csr.Opaque, "spaceAlias", *drive.DriveAlias)
}

if driveType == "personal" {
csr.Owner = us
}

resp, err := client.CreateStorageSpace(r.Context(), &csr)
if err != nil {
errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, err.Error())
Expand Down

0 comments on commit 060fa86

Please sign in to comment.