mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-18 03:23:02 -06:00
move stuff around + further work on domain blocks
This commit is contained in:
parent
c7192c0431
commit
5e2ba03adc
29 changed files with 279 additions and 50 deletions
|
|
@ -57,3 +57,8 @@ func (m *Module) DomainBlocksPOSTHandler(c *gin.Context) {
|
|||
|
||||
c.JSON(http.StatusOK, domainBlock)
|
||||
}
|
||||
|
||||
func validateCreateDomainBlock(form *model.DomainBlockCreateRequest) error {
|
||||
// TODO: add some validation here later if necessary
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue