Skip to content

Commit

Permalink
route path for create table fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GuticaStefan committed Sep 4, 2024
1 parent 1bc3e90 commit adf97b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class DuneSimulatorController {
private readonly duneSimulatorService: DuneSimulatorService,
) { }

@Post("/table/create")
@Post("/create")
async createTable(
@Headers('x-dune-api-key') apiKey: string,
@Headers('content-type') contentType: string,
Expand Down
2 changes: 1 addition & 1 deletion libs/services/src/dune-sender/dune-sender.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class DuneSenderService {

async createTable(tableName: string): Promise<boolean> {
try {
const url = `${this.appConfigService.getDuneApiUrl()}/table/create`;
const url = `${this.appConfigService.getDuneApiUrl()}/create`;
const payload = {
'namespace': this.appConfigService.getDuneNamespace(),
'table_name': tableName,
Expand Down

0 comments on commit adf97b9

Please sign in to comment.