JamFactoryApp / jamfactory-backend

JamFactory - Your virtual DJ with a democratic playlist ♫ This is the backend of the JamFactory app
https://jamfactory.app
7 stars 1 forks source link

Cannot add collection to JamSession queue #61

Closed drjole closed 3 years ago

drjole commented 3 years ago

I cannot add a collection to the JamSession queue.

Using the route PUT /api/v1/queue/collection with payload

{
  "collection": "2cKZfaz7GiGtZEeQNj1RyR",
  "type": "album"
}

an error message is printed to the console:

2021/03/28 14:13:57 http: superfluous response.WriteHeader call from github.com/jamfactoryapp/jamfactory-backend/api/utils.EncodeJSONBody (json.go:74)
WARN[0007] Could not encode json: write tcp 192.168.178.38:3000->192.168.178.38:33358: i/o timeout
drjole commented 3 years ago

Ok wow.