perf: 组织更新刷新缓存 (#10333)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot 2023-04-25 11:27:58 +08:00 committed by GitHub
parent 917620736b
commit 2a196743f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,8 +59,6 @@ def expire_user_orgs(*args):
@receiver(post_save, sender=Organization) @receiver(post_save, sender=Organization)
def on_org_create(sender, instance, created=False, **kwargs): def on_org_create(sender, instance, created=False, **kwargs):
if not created:
return
expire_user_orgs() expire_user_orgs()