Skip to content

Commit 15754ff

Browse files
committed
fix gmail query for google verification codes
1 parent c6ffcb0 commit 15754ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/code/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function POST(request: Request) {
6262
// Search for recent Google Voice forwarded SMS — adjust query if needed
6363
const listRes = await gmail.users.messages.list({
6464
userId: 'me',
65-
q: 'from:txt.voice.google.com',
65+
q: 'from:noreply@google.com subject:"Google Verification Code"',
6666
maxResults: 1,
6767
});
6868

0 commit comments

Comments
 (0)