chore: UnauthorizedError file misspelled as UnathorizedError (#10157)
Fixes misspelled file. --------- Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ import type { Document, Where } from '../../types/index.js'
|
|||||||
import type { PreferenceRequest } from '../types.js'
|
import type { PreferenceRequest } from '../types.js'
|
||||||
|
|
||||||
import { NotFound } from '../../errors/NotFound.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> {
|
export async function deleteOperation(args: PreferenceRequest): Promise<Document> {
|
||||||
const {
|
const {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { Where } from '../../types/index.js'
|
import type { Where } from '../../types/index.js'
|
||||||
import type { PreferenceUpdateRequest } from '../types.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) {
|
export async function update(args: PreferenceUpdateRequest) {
|
||||||
const {
|
const {
|
||||||
|
|||||||
Reference in New Issue
Block a user