Fix Issue #3075 by using None for local fields instead of Some(false) (#3088)

* Set insert and update form "local" to None

* Extra space to retrigger woodpecker

* Resolve code review request

https://github.com/LemmyNet/lemmy/pull/3088#discussion_r1229336958

* Remove extra space after None,
This commit is contained in:
Neshura 2023-06-14 14:34:45 +02:00 committed by GitHub
parent f43bb454c3
commit 558035b128
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ impl Group {
deleted: None,
nsfw: Some(self.sensitive.unwrap_or(false)),
actor_id: Some(self.id.into()),
local: Some(false),
local: None,
private_key: None,
hidden: Some(false),
public_key: Some(self.public_key.public_key_pem),