Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance result of GET ​/api​/v1​/form #377

Open
aniri opened this issue Jan 16, 2021 · 8 comments
Open

Enhance result of GET ​/api​/v1​/form #377

aniri opened this issue Jan 16, 2021 · 8 comments

Comments

@aniri
Copy link
Member

aniri commented Jan 16, 2021

Add two more fields to the returned info:

  • questionsNo - the total number of questions from the form
  • lastEditedOn - the date & time when the form was last edited (a new column should be added in the db for this, if it's missing; updating this value in the db will be handled in a another issue)
@hphan9
Copy link

hphan9 commented Oct 10, 2021

HI @aniri, Could I work on this issue?

@aniri
Copy link
Member Author

aniri commented Oct 10, 2021

@hphan9 sure, thanks!

@hphan9
Copy link

hphan9 commented Oct 17, 2021

Hi @aniri, I have some issues getting the project running.
I have some questions that I hope you can help me answer.
What is the best way to communicate with you or the team?
Thank you very much.

@aniri
Copy link
Member Author

aniri commented Oct 17, 2021

Hi @hphan9 , can you please tell us your questions here and we'll see how to fix those issue. Thanks!

@hphan9
Copy link

hphan9 commented Oct 17, 2021

Hi @aniri , when I run this command

src\api\VoteMonitor.Api> dotnet run

It fails because of this error

fail: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
      Health check Firebase completed after 0.8464ms with status Unhealthy and '(null)'
fail: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
      Health check AzureBlobStorage completed after 3.0031ms with status Unhealthy and '(null)'

I have set up the database successfully, and updated the connection string in appsetings.json file in txt type .
I am attaching the appsetings.json file here and a picture of my database
database monitor.
appSettingJSON.txt

dotnet run fail

Could you please check and let me know if I missed something?

@idormenco
Copy link
Member

Hi @hphan9 ,
can you please try this branch #384 and tell me if it is failing again ?

Thanks

@hphan9
Copy link

hphan9 commented Oct 19, 2021

Hi @idormenco, I tried it but I still got the same error.

@idormenco
Copy link
Member

@hphan9 you are right , please change in appsettings EnableHealthChecks to false

@hphan9 hphan9 mentioned this issue Oct 24, 2021
@idormenco idormenco self-assigned this Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants