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

not formatted #352

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion logger/backend/cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
)

// GRPC Server
func startGrpc() error {
func startGrpc( ) error {
lis, err := net.Listen("tcp", ":50051")
if err != nil {
log.Fatalf("failed to listen: %v", err)
Expand Down
2 changes: 1 addition & 1 deletion logger/cli/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import requests

r = requests.get("http://localhost:8081")
print(r.json())
print(r.json( ))
2 changes: 1 addition & 1 deletion logger/frontend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

private parseJSON(response: Response): Promise<Response> {
console.log('in parse json');
return response.json();
return response.json( );

Check failure on line 28 in logger/frontend/index.ts

View check run for this annotation

Aspect Workflows / Lint

ESLint found an issue

Unsafe return of type `Promise<any>` from function with return type `Promise<Response>`. (@typescript-eslint/no-unsafe-return)
}

private timestampToString(timestamp): string {
Expand Down