Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix(daemon): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
juligasa authored and burdiyan committed May 21, 2024
1 parent 5595df1 commit 86e2a59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/daemon/daemon_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ func getAddrs(t *testing.T, a *App) []string {
return mttnet.AddrInfoToStrings(a.Net.MustGet().AddrInfo())
}

func publishDocument(t *testing.T, ctx context.Context, publisher *App, link string, DocumentId string, DocumentVersion string) *documents.Publication {
draft, err := publisher.RPC.Documents.CreateDraft(ctx, &documents.CreateDraftRequest{ExistingDocumentId: DocumentId, Version: DocumentVersion})
func publishDocument(t *testing.T, ctx context.Context, publisher *App, link string, DocumentID string, DocumentVersion string) *documents.Publication {
draft, err := publisher.RPC.Documents.CreateDraft(ctx, &documents.CreateDraftRequest{ExistingDocumentId: DocumentID, Version: DocumentVersion})
require.NoError(t, err)
ann := []*documents.Annotation{}
if link != "" {
Expand Down

0 comments on commit 86e2a59

Please sign in to comment.