Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TechiError authored Aug 18, 2023
1 parent e3bcf91 commit 07d6ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/odrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def onedrive_auth(event):
if not (odrive.client_id and odrive.client_secret):
return await event.eor("Please set OneDrive credentials before requesting authorisation.")
if not match:
return await event.eor(f"Please visit [this]({get_oauth2_url()}) to login and get authorisation code from onedrive.")
return await event.eor(f"Please visit [this]({odrive.get_oauth2_url()}) to login and get authorisation code from onedrive.")
creds = await odrive.get_access_token(code=match)
msg = "Successfully authorised with onedrive API."
if "error" in creds:
Expand Down

0 comments on commit 07d6ce6

Please sign in to comment.