From 17a3f96b0e01340a4755715adad4de2cd57c49fe Mon Sep 17 00:00:00 2001 From: DGJM <42902433+DGJM@users.noreply.github.com> Date: Sat, 12 Mar 2022 16:49:05 +0800 Subject: [PATCH] fixed error 400 on google_drive.py --- userbot/modules/google_drive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userbot/modules/google_drive.py b/userbot/modules/google_drive.py index 997074a8..25c49cf2 100644 --- a/userbot/modules/google_drive.py +++ b/userbot/modules/google_drive.py @@ -65,7 +65,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.metadata", ] -REDIRECT_URI = "urn:ietf:wg:oauth:2.0:oob" +REDIRECT_URI = "http://localhost:1/" # =========================================================== # # STATIC CASE FOR G_DRIVE_FOLDER_ID IF VALUE IS URL # # =========================================================== #