Skip to content

Commit

Permalink
make client private
Browse files Browse the repository at this point in the history
consistency✨
  • Loading branch information
Pierce01 committed Oct 7, 2023
1 parent ec455d9 commit 61cbb58
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/ContentType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ContentTypeDTO } from "./utility/Global.js"

export const ContentTypeEndpoint = 'contenttype'
export class ContentType {
clinet: Client
private clinet: Client
constructor(client:Client) {
this.clinet = client
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/List.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PredefinedListDTO } from "./utility/Global.js"

export const ListEndpoint = 'list'
export class List {
client: Client
private client: Client
constructor(client:Client) {
this.client = client
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { readFile, stat } = promises

export const MediaEndpoint = 'media'
export class Media {
client: Client
private client: Client
util: { getMediaIDs: (parentID: number, arrLimit?: number, reqTimeout?: number) => Promise<number[]> }
constructor(client:Client) {
this.client = client
Expand Down
2 changes: 1 addition & 1 deletion src/lib/MediaCategory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Category } from "./utility/Global.js"

export const MediaCategoryEndpoint = 'mediacategory'
export class MediaCategory {
client: Client
private client: Client
constructor(client: Client) {
this.client = client
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/MediaType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Client } from "./Client.js"

export const MediaTypeEndpoint = 'mediaType'
export class MediaType {
clinet: Client
private clinet: Client
constructor(client:Client) {
this.clinet = client
}
Expand Down

0 comments on commit 61cbb58

Please sign in to comment.