Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
fix: message type
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Aug 26, 2024
1 parent ef8e69b commit ae18038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/auth.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GET } from "./auth"
const auth = await GET(Astro.url.origin)
const receiveMessage = (message) => {
const receiveMessage = (message: MessageEvent) => {
window.opener.postMessage(
"authorization:github:${status}:${JSON.stringify(content)}",
message.origin
Expand Down

0 comments on commit ae18038

Please sign in to comment.