Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mundotv789123 committed Apr 5, 2024
1 parent 841254f commit 9017610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/FilesService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export class FilesService {
`${API_URL}/files/open${FilesService.getSrcQuery(encodeURIComponent(path.normalize(`${pathFile}`)))}`;

public static getQuery = (path: string): string =>
API_QUERY.replace('{0}', path);
API_QUERY.replace('{0}', path.replace("%2F", "/"));

public static getSrcQuery = (path: string): string =>
SRC_QUERY.replace('{0}', path);
SRC_QUERY.replace('{0}', path.replace("%2F", "/"));
}

0 comments on commit 9017610

Please sign in to comment.