refactor(postgres): fixed any IDE errors
Signed-off-by: soxx <soxx@fenpa.ws>
This commit is contained in:
parent
b28891f383
commit
9471941e02
@ -57,7 +57,7 @@ func CreateTagNodeWitRelation(ctx context.Context, db *gorm.DB, PostID models.An
|
||||
return nil
|
||||
}
|
||||
|
||||
func GetTags(ctx context.Context, db *gorm.DB) ([]models.TagsWithFrequency, error) {
|
||||
func GetTags(ctx context.Context, db *gorm.DB) ([]models.Tag, error) {
|
||||
var tags []models.Tag
|
||||
result := db.WithContext(ctx).Find(&tags)
|
||||
if result.Error != nil {
|
||||
|
Reference in New Issue
Block a user