Skip to content

TOT-60 Update and fix alert uploading/creating

Sifeddine Biri requested to merge sif/register-fixes into dev

Define insert_alert function that is called when hitting the route /alert/upload-alert as a plpgsql function. Update it to check if the alert is 'verified' or not, based on whether it was created by an admin or a user in the originating area.

Added some comments and documentation.

Merge request reports