瀏覽代碼

Fix public/private.

master
Chris Smith 6 年之前
父節點
當前提交
2cdc9e531e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      lineandsinker/services/gitea.py

+ 1
- 1
lineandsinker/services/gitea.py 查看文件

@@ -29,7 +29,7 @@ class Gitea(Service):
29 29
                 "type": "git.push",
30 30
                 "repo": {
31 31
                     "name": data["repository"]["full_name"],
32
-                    "public": data["repository"]["private"],
32
+                    "public": not data["repository"]["private"],
33 33
                     "urls": urls,
34 34
                 },
35 35
                 "commits": [

Loading…
取消
儲存