diff --git a/internal/dao/slonik/topics.go b/internal/dao/slonik/topics.go index a3f6e646..b29ed7b3 100644 --- a/internal/dao/slonik/topics.go +++ b/internal/dao/slonik/topics.go @@ -175,7 +175,7 @@ func (s *topicSrv) GetNewestTags(userId int64, limit int, offset int) (cs.TagLis return nil, debug.ErrNotImplemented } -func (s *topicSrv) GetFollowTags(userId int64, limit int, offset int) (cs.TagList, error) { +func (s *topicSrv) GetFollowTags(userId int64, isPin bool, limit int, offset int) (cs.TagList, error) { // TODO return nil, debug.ErrNotImplemented } @@ -195,6 +195,11 @@ func (s *topicSrv) StickTopic(userId int64, topicId int64) (int8, error) { return 0, debug.ErrNotImplemented } +func (s *topicSrv) PinTopic(userId int64, topicId int64) (int8, error) { + // TODO + return 0, debug.ErrNotImplemented +} + func newTopicService(db *pgx.Conn) core.TopicService { return &topicSrv{ pgxSrv: newPgxSrv(db),