Skip to content

Commit

Permalink
Update drive.py
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhhu authored Aug 18, 2023
1 parent cd24f10 commit 82c1249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def drive_auth_func(event):
if not (drive.client_id or drive.client_secret):
return await event.eor("Fill GDrive credentials before authorisation.")
if not match:
return await event.eor(f"Visit [this]({get_oauth2_url()}) to get authorisation code.")
return await event.eor(f"Visit [this]({drive.get_oauth2_url()}) to get authorisation code.")
creds = await drive.get_access_token(code=match)
msg = "Authorisation successful."
if "error" in creds:
Expand Down

0 comments on commit 82c1249

Please sign in to comment.