Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #33

Merged
merged 2 commits into from
Mar 27, 2023
Merged

Dev #33

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CERAMIC_GRAPH=
CERAMIC_NODE=
CERAMIC_PRIVATE_KEY=
CERAMIC_DID_KEY=
CERAMIC_SESSION=

# NEXT
PORT=3000
Expand Down
1 change: 1 addition & 0 deletions apps/discord-bot/src/core/comments/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {communityHasSocial, getSocialCommunityId} from "../utils/data";

export const postComment = async (clients: Clients, req: Request, res: Response) => {
const {commentId} = req.body;
logger.info('core', {body: req.body});
const comment: Node<Comment> = await clients.composeQuery().fetchCommentDetails(commentId);
const socials = _.get(comment, "node.thread.community.socialPlatforms.edges");

Expand Down
1 change: 1 addition & 0 deletions apps/discord-bot/src/core/threads/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {logger} from "../utils/logger";

export const postThread = async (clients: Clients, req: Request, res: Response) => {
try {
logger.info('core', {body: req.body});
const {threadId} = req.body;
const thread: Node<Thread> = await clients.composeQuery().fetchThreadDetails(threadId);
const socials = _.get(thread, "node.community.socialPlatforms.edges");
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const config = {
discordOAuth: {
clientId: process.env.NEXT_PUBLIC_DISCORD_OAUTH_CLIENT_ID || "",
clientSecret: process.env.DISCORD_OAUTH_CLIENT_SECRET || "",
permissions: process.env.NEXT_PUBLIC_DISCORD_OAUTH_PERMISSIONS || "326417591312",
permissions: process.env.NEXT_PUBLIC_DISCORD_OAUTH_PERMISSIONS || "326418131984",
redirectUrl: process.env.NEXT_PUBLIC_DISCORD_OAUTH_REDIRECT_URL || "",
},
walletConnect: {
Expand Down