Skip to content

Conversation

@amha-mersha
Copy link

Checklist

  • I have followed (at least) the PR section of the contributing guide.
  • I fixed all necessary PR warnings
  • The commit history is clean
  • The E2E tests are passing
  • If possible, the issue has been divided into more subtasks
  • I did a self review before requesting a review from another team member

Description

How to test

  1. <E.g. login as user XYZ>
  2. <E.g. try to create new subproject>
  3. <E.g. You should not see error in console>
  4. ...

I tried to add the enpoint for the issue number #1965

@galethil galethil self-requested a review November 18, 2024 08:32
);

server.get(
`${urlPrefix}/timestaps`,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amha-mersha there is a typo in the endpoint name


server.get(
`${urlPrefix}/timestaps`,
silentRouteSettings(getSchema(server, "version")),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amha-mersha you have not defined the schema. You have to use correct name the schema of endpoint and also create it in api/src/httpd/schema.ts file and describe request and response schema there.

Suggested change
silentRouteSettings(getSchema(server, "version")),
silentRouteSettings(getSchema(server, "timestamps")),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants