Skip to content

Commit

Permalink
Update golang/wasm/wrapper_js.go
Browse files Browse the repository at this point in the history
Co-authored-by: Henry <[email protected]>
  • Loading branch information
adam-burns and cryptix authored Jul 31, 2024
1 parent c4c8d20 commit beacb9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions golang/wasm/wrapper_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func checkKeyStatus(_ js.Value, args []js.Value) any {

func findDOHEndpoint(_ js.Value, args []js.Value) any {
if len(args) != 1 {
// TODO: return rejected promise
return "expected 1 argument: domainName"
}
dohDomain := args[0].String()
Expand Down

0 comments on commit beacb9d

Please sign in to comment.