mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc
This commit is contained in:
parent
243d3e7016
commit
1d7a49a952
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ func atob(call otto.FunctionCall) otto.Value {
|
|||
|
||||
arg := argv[0]
|
||||
if (!arg.IsString()) {
|
||||
return ReportError("btoa: single argument must be a string.")
|
||||
return ReportError("atob: single argument must be a string.")
|
||||
}
|
||||
|
||||
decoded, err := base64.StdEncoding.DecodeString(arg.String())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue