chore(api): update dependencies

This commit is contained in:
Julian Tölle 2020-05-02 17:17:20 +02:00
parent 05f230a7ce
commit d881a78757
37 changed files with 4804 additions and 2700 deletions

View file

@ -24,14 +24,14 @@ export class UsersService {
async createOrUpdate(data: CreateOrUpdateDto): Promise<User> {
let user = await this.userRepository.findOne({
where: { spotify: { id: data.spotify.id } }
where: { spotify: { id: data.spotify.id } },
});
if (!user) {
user = this.userRepository.create({
spotify: {
id: data.spotify.id
}
id: data.spotify.id,
},
});
}