mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 04:42:36 +02:00
Improve error handling
This commit is contained in:
parent
df5b3fdda8
commit
3af4ee6c84
11 changed files with 34 additions and 35 deletions
|
@ -36,6 +36,9 @@ func (db *appdbimpl) GetPhotoLikes(uid string, photo int64, requesting_uid strin
|
|||
}
|
||||
|
||||
likes := make([]structures.UIDName, 0)
|
||||
|
||||
defer rows.Close()
|
||||
|
||||
for rows.Next() {
|
||||
var uid string
|
||||
var name string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue