aboutsummaryrefslogtreecommitdiff
path: root/clientapi/threepid/threepid.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/threepid/threepid.go')
-rw-r--r--clientapi/threepid/threepid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientapi/threepid/threepid.go b/clientapi/threepid/threepid.go
index 2f817ef4..1e64e303 100644
--- a/clientapi/threepid/threepid.go
+++ b/clientapi/threepid/threepid.go
@@ -81,7 +81,7 @@ func CreateSession(
// Error if the status isn't OK
if resp.StatusCode != http.StatusOK {
- return "", fmt.Errorf("Could not create a session on the server %s", req.IDServer)
+ return "", fmt.Errorf("could not create a session on the server %s", req.IDServer)
}
// Extract the SID from the response and return it
@@ -168,7 +168,7 @@ func PublishAssociation(creds Credentials, userID string, cfg *config.ClientAPI)
// Error if the status isn't OK
if resp.StatusCode != http.StatusOK {
- return fmt.Errorf("Could not publish the association on the server %s", creds.IDServer)
+ return fmt.Errorf("could not publish the association on the server %s", creds.IDServer)
}
return nil