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')