Skip to content

Commit

Permalink
Remove category parameter in skip segment request
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Sep 14, 2024
1 parent cb64ebf commit de78c50
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/requests/segments.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import * as CompileConfig from "../../config.json";
import { ActionTypes } from "../types";
import { asyncRequestToServer } from "./requests";

export async function getSegmentsByHash(
Expand All @@ -10,11 +8,7 @@ export async function getSegmentsByHash(
const response = await asyncRequestToServer(
"GET",
"/api/skipSegments/" + hashPrefix,
{
categories: CompileConfig.categoryList,
actionTypes: ActionTypes,
...extraRequestData,
},
extraRequestData,
ignoreServerCache
);

Expand Down

0 comments on commit de78c50

Please sign in to comment.