Closed ljosberinn closed 3 years ago
https://github.com/ljosberinn/keystone-heroes/blob/master/packages/%40keystone-heroes/api/src/functions/report.ts#L522 => indicate different error for empty reports
https://github.com/ljosberinn/keystone-heroes/blob/master/packages/%40keystone-heroes/api/src/functions/report.ts#L464 => filter fights further down that are already persisted; right now its failing on unique constraint report because we're trying to re-insert already persisted data
https://github.com/ljosberinn/keystone-heroes/blob/master/packages/%40keystone-heroes/api/src/functions/report.ts#L522 => indicate different error for empty reports
https://github.com/ljosberinn/keystone-heroes/blob/master/packages/%40keystone-heroes/api/src/functions/report.ts#L464 => filter fights further down that are already persisted; right now its failing on unique constraint report because we're trying to re-insert already persisted data