Add 'users', 'users/valid/', and 'users/invalid/' endpoints to API

This commit is contained in:
2025-05-24 19:32:36 +04:00
parent 50af73f26a
commit 12e51b5a22
7 changed files with 106 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ func (generator *Generator) IsValid(post *collections.Post) bool {
return false
}
if isValidUser := users.IsValid(post.DID); isValidUser != nil {
if isValidUser := Users.IsValid(post.DID); isValidUser != nil {
return *isValidUser
}