mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
code review fixes
This commit is contained in:
parent
17b7677071
commit
8a05a66cd7
9 changed files with 24 additions and 24 deletions
|
@ -116,7 +116,7 @@ func (s *accountsStatements) InsertAccount(
|
|||
ctx context.Context, txn *sql.Tx, localpart string, serverName spec.ServerName,
|
||||
hash, appserviceID string, accountType api.AccountType,
|
||||
) (*api.Account, error) {
|
||||
createdTimeMS := time.Now().UnixNano() / 1000000
|
||||
createdTimeMS := spec.AsTimestamp(time.Now())
|
||||
stmt := s.insertAccountStmt
|
||||
|
||||
var err error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue