mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -06:00
selectAccountDataByType function modified
This commit is contained in:
parent
95020c21cb
commit
7810c30058
|
|
@ -125,8 +125,7 @@ func (s *accountDataStatements) selectAccountDataByType(
|
||||||
|
|
||||||
var content []byte
|
var content []byte
|
||||||
|
|
||||||
err = stmt.QueryRowContext(ctx, localpart, roomID, dataType).Scan(&content)
|
if err = stmt.QueryRowContext(ctx, localpart, roomID, dataType).Scan(&content); err != nil {
|
||||||
if err != nil {
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue