瀏覽代碼

Minor fix

sleepytaco 2 年之前
父節點
當前提交
3beb542ada
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/main/models.py

+ 1 - 1
apps/main/models.py

@@ -28,7 +28,7 @@ class PlaylistManager(models.Manager):
             refresh_token=user.profile.refresh_token,
             token_uri="https://oauth2.googleapis.com/token",
             client_id=app.client_id,
-            client_secret=app.client_secret,
+            client_secret=app.secret,
             scopes=['https://www.googleapis.com/auth/youtube']
         )