mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 15:12:26 -05:00
[bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563)
* tidy up account, status, webfingering logic a wee bit * go fmt * invert published check * alter resp initialization * get Published from account in typeutils * don't instantiate error for no darn good reason * shadow err * don't repeat error codes in wrapped errors * don't wrap error unnecessarily
This commit is contained in:
parent
07207e71e9
commit
e3052e8c82
13 changed files with 461 additions and 211 deletions
|
|
@ -410,7 +410,6 @@ func (suite *DomainBlockTestSuite) TestBlockAndAllowDomain() {
|
|||
})
|
||||
}
|
||||
|
||||
|
||||
func (suite *DomainBlockTestSuite) TestAllowAndBlockDomain() {
|
||||
const domain = "fossbros-anonymous.io"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue