mirror of
1
Fork 0

Use PanicIfInvalid in repository.go

This commit is contained in:
erik 2023-11-24 11:40:12 +01:00 committed by Michael Jerger
parent 9566e9bc5d
commit 546ce50337
1 changed files with 1 additions and 5 deletions

View File

@ -95,11 +95,7 @@ func RepositoryInbox(ctx *context.APIContext) {
}
// Is the ActorData Struct valid?
err = actor.Validate()
if err != nil {
panic(err)
}
actor.PanicIfInvalid()
log.Info("RepositoryInbox: Actor parsed. %v", actor)