rokwire / surveys-building-block

Building Block that manages surveys in the Rokwire Platform.
Apache License 2.0
0 stars 1 forks source link

[BUG] Survey response ID not set on create #4

Closed shurwit closed 1 year ago

shurwit commented 1 year ago

Describe the bug Currently when creating a new survey response, the ID is never set so we are getting duplicate key errors.

To Reproduce Steps to reproduce the behavior:

  1. POST /survey-responses twice
  2. Receive duplicate key error

Expected behavior The ID should be set to a new UUID whenever any item is being created.