Skip to content

Commit

Permalink
fix: import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Oct 3, 2024
1 parent 42e872d commit f61adf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/routes/oauth/github.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createCookie, randomHash } from 'utils'
import { z } from 'zod'
import { createCookie } from '../../../node_modules/utils/src/cookies.ts'
import { randomHash } from '../../../node_modules/utils/src/random-hash.ts'
import { getUserByEmail, loginUser } from '../../actions/login-register.ts'
import { kv } from '../../core/app.ts'
import { fetchJson } from '../../core/fetch-json.ts'
Expand Down

1 comment on commit f61adf8

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on f61adf8 Oct 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

UNCAUGHT_EXCEPTION

ZodError: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "OAUTH_GITHUB_CLIENT_ID"
    ],
    "message": "Required"
  },
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "OAUTH_GITHUB_CLIENT_SECRET"
    ],
    "message": "Required"
  }
]
    at Object.get error (https://deno.land/x/[email protected]/types.ts:108:23)
    at ZodObject.parse (https://deno.land/x/[email protected]/types.ts:241:18)
    at file:///src/api/env.ts:19:24
    at eventLoopTick (ext:core/01_core.js:175:7)

Please sign in to comment.