浏览代码

Editing the autoupdater thingie

Andrea Franceschini 8 年之前
父节点
当前提交
624a1579aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/api/git-update.php

+ 1 - 1
pages/api/git-update.php

@@ -1,7 +1,7 @@
 <?php
 
 $data = json_decode(file_get_contents('php://input'));
-$secret = $data['secret'];
+$secret = $data->secret;
 
 $url = 'http://git.morpheu5.net/api/v1/morpheu5/af/archive/master.tar.gz';