Separate User and PhotoProfile classes into their own files

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-06-12 22:10:57 +02:00
parent 5852b45bdd
commit 20fbb39b3e
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
5 changed files with 105 additions and 104 deletions

View file

@ -6,7 +6,7 @@ import { config } from '../../config'
import { errors } from '../../errors'
import { logger } from '../../logger'
import { Note } from '../../models'
import { PhotoProfile } from '../../models/user'
import { PhotoProfile } from '../../utils/PhotoProfile'
export function newNote (req, res: Response, body: string | null): void {
let owner = null