ck 4 роки тому
батько
коміт
286dda85e4
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      handlers/GitHookHandler.py

+ 1 - 1
handlers/GitHookHandler.py

@@ -5,7 +5,7 @@ from model import DingTalkUtils
 
 class DataCenerHook(BaseHandler):
 
-    def get(self):
+    def post(self):
         os.system('cd /home/qc/DataCenter')
         val= os.popen('git pull')
         self.write('ok')