Skip to content

Commit

Permalink
fix empty worklog start time
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Sotomski authored and Robert Sotomski committed Apr 16, 2019
1 parent 9a57c8f commit f427360
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jiraApi/models/worklogAdd.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ package models

import (
"fmt"
"github.com/jonboulle/clockwork"
"github.com/pkg/errors"
"time"
)

var clock clockwork.Clock

// WorklogAdd represents request to JIRA API to add worklog
type WorklogAdd struct {
Comment string `json:"comment"`
Started string `json:"started"`
Started string `json:"started,omitempty"`
TimeSpentSeconds uint64 `json:"timeSpentSeconds"`
}

Expand Down

0 comments on commit f427360

Please sign in to comment.