Skip to content

Commit

Permalink
feat(envited.ascs.digital): Save file to S3 and update DB
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen Branje <[email protected]>
  • Loading branch information
jeroenbranje committed Feb 26, 2024
1 parent 5f941cf commit ec785d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use server'

import { revalidatePath } from 'next/cache'
import { dissoc, evolve, pipe } from 'ramda'
import { z } from 'zod'

import { getUploadUrl } from '../../common/aws'
import { log } from '../../common/logger'
import { updateProfile } from '../../common/serverActions/profiles'
import { badRequestError, formatError, internalServerErrorError } from '../../common/utils'
import { ProfileSchema, ValidateProfileForm } from './Profile.schema'
import { dissoc, evolve, pipe } from 'ramda'

type ProfileForm = z.infer<typeof ProfileSchema>

Expand Down

0 comments on commit ec785d9

Please sign in to comment.