Page MenuHomeSoftware Heritage

Fix bug in production
Closed, MigratedEdits Locked

Description

At the moment /revision/origin/<id>/ and any other api using the occurrence criterions fails with a 400.

It's a remnant of 047 version migration (cf. (T270)

The old stored procedure were not cleaned up and the revision branch was not enforced as bytes.
Thus looking up the old functions (still there).

Cleaning up old functions + enforcing the branch lookup as bytes will fix this.