aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/postgres/peeks_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/storage/postgres/peeks_table.go')
-rw-r--r--syncapi/storage/postgres/peeks_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/postgres/peeks_table.go b/syncapi/storage/postgres/peeks_table.go
index 64183073..1120dce0 100644
--- a/syncapi/storage/postgres/peeks_table.go
+++ b/syncapi/storage/postgres/peeks_table.go
@@ -164,7 +164,7 @@ func (s *peekStatements) SelectPeekingDevices(
devices = append(devices, types.PeekingDevice{UserID: userID, DeviceID: deviceID})
result[roomID] = devices
}
- return result, nil
+ return result, rows.Err()
}
func (s *peekStatements) SelectMaxPeekID(