File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,10 @@ async def update(self, ctx):
343343 color = discord .Color .green ()
344344 )
345345
346- oauth_url = f'https://github.com/login/oauth/authorize?client_id=e54e4ff0f234ee9f22aa&scope=public_repo&redirect_uri=http ://api.kybr.tk/api/modmail/github/callback?user_id={ self .user .id } '
346+ oauth_url = f'https://github.com/login/oauth/authorize?client_id=e54e4ff0f234ee9f22aa&scope=public_repo&redirect_uri=https ://api.kybr.tk/api/modmail/github/callback?user_id={ self .user .id } '
347347
348348 if data ['latest_version' ] == __version__ :
349- async with self .session .get (f'http ://api.kybr.tk/api/modmail/github/user/{ self .user .id } ' ) as resp :
349+ async with self .session .get (f'https ://api.kybr.tk/api/modmail/github/user/{ self .user .id } ' ) as resp :
350350 if resp .status == 403 :
351351 em .title = 'Unauthorised'
352352 em .description = 'You have not authorised modmail. ' \
@@ -365,7 +365,7 @@ async def update(self, ctx):
365365 em .set_author (name = new_commit ['user' ]['username' ], icon_url = new_commit ['user' ]['avatar_url' ], url = new_commit ['user' ]['url' ])
366366
367367 if data ['latest_version' ] != __version__ :
368- async with self .session .get (f'http ://api.kybr.tk/api/modmail/github/pull/{ self .user .id } ' ) as resp :
368+ async with self .session .get (f'https ://api.kybr.tk/api/modmail/github/pull/{ self .user .id } ' ) as resp :
369369 if resp .status == 403 :
370370 em .title = 'Unauthorised'
371371 em .description = 'You have not authorised modmail. ' \
You can’t perform that action at this time.
0 commit comments