mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-09 08:39:09 +00:00
tiny code organization improvements
This commit is contained in:
@@ -31,14 +31,14 @@ export class OauthController {
|
||||
this.frontendRedirectUri = `http://localhost:4200/coletix/auth-callback`;
|
||||
}
|
||||
}
|
||||
@UseGuards(AuthGuard('hubspot'))
|
||||
@Get('hubspot')
|
||||
async oauthHubspot(@Req() req) {
|
||||
@UseGuards(AuthGuard('hubspot'))
|
||||
async oauthHubspot() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@UseGuards(AuthGuard('hubspot'))
|
||||
@Get('hubspot/callback')
|
||||
@UseGuards(AuthGuard('hubspot'))
|
||||
@Redirect()
|
||||
async oauthHubspotCallback(@Req() req, @Query('state') customer_id) {
|
||||
const { authInfo } = req;
|
||||
|
||||
Reference in New Issue
Block a user