Commit 69643ed9 authored by Diego Molteni's avatar Diego Molteni
Browse files

fixed linter

parent fa6af49e
Pipeline #36270 passed with stages
in 12 minutes and 4 seconds
......@@ -70,23 +70,24 @@ export class Server {
]
}
private options_div_clear = {
private optionsDivClear = {
files: 'node_modules/swagger-ui-dist/swagger-ui.css',
from: '.swagger-ui .topbar{display:none;visibility:hidden',
to: '.swagger-ui .topbar{'
}
private options_div_hide = {
private optionsDivHide = {
files: 'node_modules/swagger-ui-dist/swagger-ui.css',
from: '.swagger-ui .topbar{',
to: '.swagger-ui .topbar{display:none;visibility:hidden;'
}
constructor() {
const swaggerDocument = YAML.load('./dist/docs/api/openapi.osdu.yaml');
try {
replaceInFile.sync(this.options_div_clear);
replaceInFile.sync(this.options_div_hide);
replaceInFile.sync(this.optionsDivClear);
replaceInFile.sync(this.optionsDivHide);
}
catch (error) {
console.error('Error occurred:', error);
......
......@@ -122,7 +122,8 @@ export class DatasetDAO {
}
public static async paginatedListContent(
journalClient: IJournal | IJournalTransaction, dataset: DatasetModel, wmode: string, pagination: PaginationModel):
journalClient: IJournal | IJournalTransaction, dataset: DatasetModel,
wmode: string, pagination: PaginationModel):
Promise<{ datasets: string[], nextPageCursor: string }> {
const output = { datasets: [], nextPageCursor: null };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment