plezanje-net / api

NestJS GraphQL web server
GNU General Public License v3.0
7 stars 2 forks source link

Back to express #142

Closed salamca closed 2 years ago

salamca commented 2 years ago

As we were unable to upgrade nestjs when using fastify, we are switching back to express.

Upload controller reworked. Tests adapted. Main app init adapted.

to test: test image uploads, test tests, do some general manual testing...

bonus: fixed jest error in tests

bonus2: adds the 'lost in stash' activityMutations test

demshy commented 2 years ago

can't seem to get image upload to work with this one.. somehow I always get 400 error

{
    "statusCode": 400,
    "message": "Unexpected field",
    "error": "Bad Request"
}