Skip to content

Commit

Permalink
feat: extend twitter api - initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alvin-reyes committed Jan 22, 2025
1 parent 3b8c987 commit 4326f0b
Show file tree
Hide file tree
Showing 2 changed files with 602 additions and 4 deletions.
5 changes: 3 additions & 2 deletions api/types/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ type JobResponse struct {
type JobArguments map[string]interface{}

type JobResult struct {
Error string `json:"error"`
Data []byte `json:"data"`
Error string `json:"error"`
Data []byte `json:"data"`
NextCursor string `json:"next_cursor"`
}

func (jr JobResult) Success() bool {
Expand Down
Loading

0 comments on commit 4326f0b

Please sign in to comment.