manishprivet / electify

Create Private and Anonymous Elections Instantly and Unlimited. No need to Sign UP

Home Page:https://electify.manishk.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/create returns 500

vaishnav-mk opened this issue · comments

Upon creating an election with the following payload, the election doesn't get created

{
  "display_name": "new election",
  "election_name": "id",
  "no_of_voters": "3",
  "candidates": [
    {
      "name": "can 1"
    },
    {
      "name": "can 2"
    }
  ],
  "auth_type": "secret",
  "emails": "",
  "gsuite_domain": ""
}

Instead, I get a 500 error with the following response

A server error has occurred

FUNCTION_INVOCATION_FAILED