Skip to content
Snippets Groups Projects
Commit bda0abe9 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix comment typos

parent 8068572f
No related branches found
No related tags found
2 merge requests!96Add DM URL sharing to WASM,!67fix for latest client release
......@@ -563,14 +563,14 @@ type DMUser struct {
PublicKey []byte `json:"publicKey"`
}
// GetShareURL generates a URL that can be used to share a URL to initiate d
// GetShareURL generates a URL that can be used to share a URL to initiate a
// direct messages with this user.
//
// Parameters:
// - args[0] - The URL to append the DM info to.
// - args[0] - The URL to append the DM info to (string).
//
// Returns:
// - JSON of [DMShareURL].
// - JSON of [DMShareURL] (Uint8Array).
func (dmc *DMClient) GetShareURL(_ js.Value, args []js.Value) any {
host := args[0].String()
urlReport, err := dmc.api.GetShareURL(host)
......@@ -586,10 +586,10 @@ func (dmc *DMClient) GetShareURL(_ js.Value, args []js.Value) any {
//
// Parameters:
// - args[0] - The user's share URL. Should be received from another user or
// generated via [DMClient.GetShareURL].
// generated via [DMClient.GetShareURL] (string).
//
// Returns:
// - JSON of DMUser.
// - JSON of [DMUser] (Uint8Array).
func DecodeDMShareURL(_ js.Value, args []js.Value) any {
url := args[0].String()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment