Skip to content

Commit

Permalink
fix: timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
piloking committed Dec 31, 2024
1 parent 7235515 commit 289be56
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/linejs/src/timeline/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ export class Timeline {
longitude: number;
name: string;
}[] = [];
const medias: { objectId: string; type: string; obsFace: string }[] = [];
const medias: { objectId: string; type: string; obsFace: string }[] =
[];
stickerIds.forEach((stickerId, stickerIndex) => {
stickers.push({
id: stickerId,
Expand Down Expand Up @@ -171,7 +172,6 @@ export class Timeline {
const headers = {
...this.timelineHeaders,
"x-lhm": "POST",
"Content-type": "application/json",
};
return await this.client.fetch(
`https://${this.client.request.endpoint}/${
Expand All @@ -190,7 +190,6 @@ export class Timeline {
const headers = {
...this.timelineHeaders,
"x-lhm": "POST",
"Content-type": "application/json",
};
const params = new URLSearchParams({
homeId,
Expand All @@ -213,7 +212,6 @@ export class Timeline {
const headers = {
...this.timelineHeaders,
"x-lhm": "GET",
"Content-type": "application/json",
};
const params = new URLSearchParams({
homeId,
Expand Down Expand Up @@ -275,7 +273,6 @@ export class Timeline {
const headers = {
...this.timelineHeaders,
"x-lhm": "POST",
"Content-type": "application/json",
};
return await this.client.fetch(
`https://${this.client.request.endpoint}/${
Expand Down

0 comments on commit 289be56

Please sign in to comment.