Skip to content

Commit

Permalink
Update SELLER_CLIENT_TOKEN_SIGNER env
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Sep 18, 2023
1 parent 5a61934 commit bb149ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ NEXT_PUBLIC_HCAPTCHA_SITE_KEY='$GH_HCAPTCHA_SITE_KEY'
NEXT_PUBLIC_OFFCHAIN_SIGNER_URL='$GH_OFFCHAIN_SIGNER_URL'
NEXT_PUBLIC_AMP_ID='$GH_AMP_ID'
SELLER_CLIENT_ID='$GH_SELLER_CLIENT_ID'
SELLER_TOKEN_SIGNER='$GH_SELLER_TOKEN_SIGNER'
SELLER_CLIENT_TOKEN_SIGNER='$GH_SELLER_TOKEN_SIGNER'
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV NEXT_PUBLIC_GA_ID=${GH_GA_ID} \
NEXT_PUBLIC_OFFCHAIN_SIGNER_URL=${GH_OFFCHAIN_SIGNER_URL} \
NEXT_PUBLIC_CONNECTION_KIND=${GH_CONNECTION_KIND} \
SELLER_CLIENT_ID=${GH_SELLER_CLIENT_ID} \
SELLER_TOKEN_SIGNER=${GH_SELLER_TOKEN_SIGNER}
SELLER_CLIENT_TOKEN_SIGNER=${GH_SELLER_TOKEN_SIGNER}

COPY package.json yarn.lock* ./
RUN yarn install --no-optional
Expand Down Expand Up @@ -50,7 +50,7 @@ ENV NEXT_PUBLIC_GA_ID=${GH_GA_ID} \
NEXT_PUBLIC_OFFCHAIN_SIGNER_URL=${GH_OFFCHAIN_SIGNER_URL} \
NEXT_PUBLIC_CONNECTION_KIND=${GH_CONNECTION_KIND} \
SELLER_CLIENT_ID=${GH_SELLER_CLIENT_ID} \
SELLER_TOKEN_SIGNER=${GH_SELLER_TOKEN_SIGNER}
SELLER_CLIENT_TOKEN_SIGNER=${GH_SELLER_TOKEN_SIGNER}

WORKDIR /opt/subsocial/app

Expand Down
2 changes: 0 additions & 2 deletions src/server/pendingOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export const pendingOrdersWrapper = async ({
if (req.method !== 'POST') return res.status(404).end()

try {
console.log(process.env.SELLER_CLIENT_ID as string, process.env.SELLER_CLIENT_TOKEN_SIGNER)

const nonce = new Uint8Array(24)
nonce[0] = NONCE

Expand Down

0 comments on commit bb149ba

Please sign in to comment.