Commit 28953ca2 by Lin Wang

fix: change the slack bot constant

parent f1c18ab2
......@@ -3,8 +3,8 @@ import { readdirSync } from 'fs';
import { join } from 'path';
async function uploadAll() {
const token = process.env.SLACK_TOKEN!;
const channel = process.env.SLACK_CHANNEL!;
const token = process.env.SLACK_BOT_USER_OAUTH_TOKEN!;
const channel = process.env.DESIGN_TEAM_CHANNEL_ID!;
const dir = join(__dirname, 'diffWithBaseline');
const files = readdirSync(dir).filter(f => f.endsWith('.json'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment