Commit with GitHub user email (needed for vercel deployment)

This commit is contained in:
Will Chen
2025-04-14 22:39:42 -07:00
parent d55d6781a6
commit 1c325eccf4
7 changed files with 145 additions and 100 deletions

View File

@@ -0,0 +1,15 @@
import { getGithubUser } from "../handlers/github_handlers";
export async function getGitAuthor() {
const user = await getGithubUser();
const author = user
? {
name: `[dyad]`,
email: user.email,
}
: {
name: "[dyad]",
email: "git@dyad.sh",
};
return author;
}