Skip to content

Commit

Permalink
Just added console logs for connections
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopkarnik committed Jul 30, 2024
1 parent 768722d commit 5fdb894
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const createVideos = async ({apiToken, dbId, videos,channelId}:any) => {
{name: 'channelId', type: 'text', value: video.channelId },
{name: 'publishedAt', type: 'date', value: video.publishedAt},
{name: 'Platform', type: 'select', value: 'Youtube'},
{name: 'Status', type: 'status', value: 'Not started'},
{name: 'Status', type: 'status', value: 'Not Started'},
{name: 'URL', type: 'url', value: `https://www.youtube.com/watch?v=${video.videoId}`},
{name: 'videoId', type: 'text', value: video.videoId},
{name: 'Channel', type: 'text', value: video.channelTitle},
Expand Down
3 changes: 3 additions & 0 deletions apps/dashboard-app/components/ConnectionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const ConnectionCard = ({connection}:any) => {
const [oauthUrl, setOauthUrl] = useState('')

useEffect(() => {
console.log(process.env.NEXT_PUBLIC_URL)
console.log(process.env.NEXT_PUBLIC_NOTION_OAUTH_URL)
console.log(process.env.NEXT_PUBLIC_YOUTUBE_OAUTH_URL)
setAppType(connection.title)
if (connection.title === 'OpenAI'){
setCallbackUrl(process.env.NEXT_PUBLIC_URL+'/api/callback/openai')
Expand Down

0 comments on commit 5fdb894

Please sign in to comment.