ck hace 4 años
padre
commit
286dda85e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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')