Skip to content

Commit

Permalink
chore: UnauthorizedError file misspelled as UnathorizedError (#10157)
Browse files Browse the repository at this point in the history
Fixes misspelled file.

---------

Co-authored-by: Jacob Fletcher <[email protected]>
  • Loading branch information
kethan1 and jacobsfletch authored Dec 26, 2024
1 parent b33f4b0 commit 6b45b2d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/payload/src/preferences/operations/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Document, Where } from '../../types/index.js'
import type { PreferenceRequest } from '../types.js'

import { NotFound } from '../../errors/NotFound.js'
import { UnauthorizedError } from '../../errors/UnathorizedError.js'
import { UnauthorizedError } from '../../errors/UnauthorizedError.js'

export async function deleteOperation(args: PreferenceRequest): Promise<Document> {
const {
Expand Down
2 changes: 1 addition & 1 deletion packages/payload/src/preferences/operations/update.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Where } from '../../types/index.js'
import type { PreferenceUpdateRequest } from '../types.js'

import { UnauthorizedError } from '../../errors/UnathorizedError.js'
import { UnauthorizedError } from '../../errors/UnauthorizedError.js'

export async function update(args: PreferenceUpdateRequest) {
const {
Expand Down

0 comments on commit 6b45b2d

Please sign in to comment.