and this ``` import { getUserId, Context } from '....
# prisma-whats-new
p
and this
Copy code
import { getUserId, Context } from '../../utils'

export async function addLocationUser(parent, args, ctx: Context, info) {
  const userId = getUserId(ctx)
  const user = await ctx.db.mutation.updateUser({
    where: { id: userId },
    data: {
      location: { upsert: args },
    },
  })

  return user
}