mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Fixed a lot of bad queries
This commit is contained in:
parent
a3cf4f17f8
commit
233217beb9
15 changed files with 48 additions and 30 deletions
|
@ -21,7 +21,7 @@ type Comment struct {
|
|||
Date string `json:"date"`
|
||||
}
|
||||
|
||||
type Photo struct { //todo: move to structures
|
||||
type Photo struct {
|
||||
UID string `json:"user_id"`
|
||||
ID int64 `json:"photo_id"`
|
||||
Likes int64 `json:"likes"`
|
||||
|
@ -44,5 +44,5 @@ type UserProfile struct {
|
|||
Following int64 `json:"following"`
|
||||
Followers int64 `json:"followers"`
|
||||
Followed bool `json:"followed"`
|
||||
Photos int64 `json:"photos"` //todo: check json names
|
||||
Photos int64 `json:"photos"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue