fix: wrong visibility set for PRIVATE
parent
85b19dc50c
commit
9419d1e3e5
|
@ -136,7 +136,7 @@ class Censures(Resource):
|
||||||
if p_instance.visibility_censures == enums.ListVisibility.PRIVATE:
|
if p_instance.visibility_censures == enums.ListVisibility.PRIVATE:
|
||||||
if get_instance is None:
|
if get_instance is None:
|
||||||
continue
|
continue
|
||||||
if not p_instance != get_instance:
|
if p_instance != get_instance:
|
||||||
continue
|
continue
|
||||||
instances.append(p_instance)
|
instances.append(p_instance)
|
||||||
for c_instance in instances:
|
for c_instance in instances:
|
||||||
|
|
|
@ -117,7 +117,7 @@ class Endorsements(Resource):
|
||||||
if p_instance.visibility_endorsements == enums.ListVisibility.PRIVATE:
|
if p_instance.visibility_endorsements == enums.ListVisibility.PRIVATE:
|
||||||
if get_instance is None:
|
if get_instance is None:
|
||||||
continue
|
continue
|
||||||
if not p_instance != get_instance:
|
if p_instance != get_instance:
|
||||||
continue
|
continue
|
||||||
instances.append(p_instance)
|
instances.append(p_instance)
|
||||||
for e_instance in instances:
|
for e_instance in instances:
|
||||||
|
|
|
@ -121,7 +121,7 @@ class Hesitations(Resource):
|
||||||
if p_instance.visibility_endorsements == enums.ListVisibility.PRIVATE:
|
if p_instance.visibility_endorsements == enums.ListVisibility.PRIVATE:
|
||||||
if get_instance is None:
|
if get_instance is None:
|
||||||
continue
|
continue
|
||||||
if not p_instance != get_instance:
|
if p_instance != get_instance:
|
||||||
continue
|
continue
|
||||||
instances.append(p_instance)
|
instances.append(p_instance)
|
||||||
instance_details = []
|
instance_details = []
|
||||||
|
|
Loading…
Reference in New Issue