add: 8 more achievements
This commit is contained in:
parent
8d70f65863
commit
a799c777ea
11 changed files with 121 additions and 18 deletions
|
@ -299,11 +299,10 @@ impl DataManager {
|
|||
}
|
||||
|
||||
// add community owner as admin
|
||||
self.create_membership(CommunityMembership::new(
|
||||
data.owner,
|
||||
data.id,
|
||||
CommunityPermission::ADMINISTRATOR,
|
||||
))
|
||||
self.create_membership(
|
||||
CommunityMembership::new(data.owner, data.id, CommunityPermission::ADMINISTRATOR),
|
||||
&owner,
|
||||
)
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue