Connect profile picture upload to backend (#533)
* Connect profile picture upload to backend * Fix tests * Revert onboarding state changes
This commit is contained in:
@ -4,7 +4,9 @@ import { AppModule } from './app.module';
|
||||
import { graphqlUploadExpress } from 'graphql-upload';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule, { cors: true });
|
||||
const app = await NestFactory.create(AppModule, {
|
||||
cors: true,
|
||||
});
|
||||
|
||||
// Apply validation pipes globally
|
||||
app.useGlobalPipes(new ValidationPipe());
|
||||
|
||||
Reference in New Issue
Block a user