Fixed sharing with a user not working

This commit is contained in:
kolaente 2019-06-04 19:45:27 +02:00
parent 370e0e6b76
commit d05ef0f37c
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -241,7 +241,7 @@
} }
if (this.shareType === 'user') { if (this.shareType === 'user') {
this.stuffModel.userID = this.sharable.id this.stuffModel.userID = this.sharable.username
} else if (this.shareType === 'team') { } else if (this.shareType === 'team') {
this.stuffModel.teamID = this.sharable.id this.stuffModel.teamID = this.sharable.id
} }