Skip to content

Commit

Permalink
typos?
Browse files Browse the repository at this point in the history
  • Loading branch information
Googlom committed Oct 23, 2019
1 parent 0428153 commit 63c2c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/db/rethinkdb/adapter.go
Expand Up @@ -836,7 +836,7 @@ func (a *adapter) TopicCreateP2P(initiator, invited *t.Subscription) error {
Merge(map[string]interface{}{
"CreatedAt": invited.CreatedAt,
"UpdatedAt": invited.UpdatedAt,
"ModeGive": invited.ModeGiven})).
"ModeGiven": invited.ModeGiven})).
RunWrite(a.conn)
if err != nil {
return err
Expand Down Expand Up @@ -1114,7 +1114,7 @@ func (a *adapter) TopicShare(shares []*t.Subscription) (int, error) {
return oldsub.Without("DeletedAt").Merge(map[string]interface{}{
"CreatedAt": newsub.Field("CreatedAt"),
"UpdatedAt": newsub.Field("UpdatedAt"),
"ModeGive": newsub.Field("ModeGiven")})
"ModeGiven": newsub.Field("ModeGiven")})
}}).RunWrite(a.conn)

return resp.Inserted + resp.Replaced, err
Expand Down

0 comments on commit 63c2c53

Please sign in to comment.