mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 04:42:36 +02:00
Add follow status to GetUserProfile
This commit is contained in:
parent
9968f9e66f
commit
09adc06e18
4 changed files with 9 additions and 3 deletions
|
@ -65,7 +65,7 @@ type AppDatabase interface {
|
|||
LikePhoto(uid string, photo int64, liker_uid string) (QueryResult, error)
|
||||
UnlikePhoto(uid string, photo int64, liker_uid string) (QueryResult, error)
|
||||
|
||||
GetUserProfile(uid string) (QueryResult, *structures.UserProfile, error)
|
||||
GetUserProfile(uid string, requesting_uid string) (QueryResult, *structures.UserProfile, error)
|
||||
GetUserPhotos(uid string, start_index int, limit int) (*[]structures.UserPhoto, error)
|
||||
GetUserStream(uid string, start_index int, limit int) (*[]structures.Photo, error)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue