Skip to content

Commit

Permalink
feat(lib): rm an unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-suwala committed Feb 29, 2024
1 parent 0dee343 commit 19e01f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/entities/thread-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ThreadChannel extends Channel {
}

/** @internal */
static override fromDTO(chat: Chat, params: ThreadChannelDTOParams): ThreadChannel {
static override fromDTO(chat: Chat, params: ThreadChannelDTOParams) {
const data = {
id: params.id,
parentChannelId: params.parentChannelId,
Expand Down
4 changes: 2 additions & 2 deletions lib/src/entities/user.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PubNub, { UUIDMetadataObject, ObjectCustom, GetMembershipsParametersv2 } from "pubnub"
import { Chat } from "./chat"
import { DeleteParameters, OptionalAllBut, TextMessageContent } from "../types"
import { DeleteParameters, OptionalAllBut } from "../types"
import { Channel } from "./channel"
import { Membership } from "./membership"
import { INTERNAL_ADMIN_CHANNEL, INTERNAL_MODERATION_PREFIX } from "../constants"
Expand Down Expand Up @@ -40,7 +40,7 @@ export class User {
type?: string | null
})
| UUIDMetadataObject<ObjectCustom>
): User {
) {
const data = {
id: params.id,
name: params.name || undefined,
Expand Down

0 comments on commit 19e01f9

Please sign in to comment.