mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Fix inconsistency of the latest commit
This commit is contained in:
parent
963e392cea
commit
c134becb61
3 changed files with 20 additions and 4 deletions
|
@ -60,14 +60,14 @@ type AppDatabase interface {
|
|||
PostPhoto(uid string) (DBTransaction, int64, error)
|
||||
DeletePhoto(uid string, photo int64) (bool, error)
|
||||
|
||||
GetPhotoLikes(uid string, photo int64, requesting_uid string) (QueryResult, *[]structures.UIDName, error)
|
||||
GetPhotoLikes(uid string, photo int64, requesting_uid string, start_index int, offset int) (QueryResult, *[]structures.UIDName, error)
|
||||
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)
|
||||
GetUserStream(uid string, start_index int, limit int) (*[]structures.Photo, error)
|
||||
|
||||
GetComments(uid string, photo_id int64, requesting_uid string) (QueryResult, *[]structures.Comment, error)
|
||||
GetComments(uid string, photo_id int64, requesting_uid string, start_index int, offset int) (QueryResult, *[]structures.Comment, error)
|
||||
PostComment(uid string, photo_id int64, comment_user string, comment string) (QueryResult, error)
|
||||
DeleteComment(uid string, photo_id int64, comment_id int64) (QueryResult, error)
|
||||
GetCommentOwner(uid string, photo_id int64, comment_id int64) (QueryResult, string, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue