Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.
Open
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 api/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func addLabel(name string) (*Label, error) {
token := savedToken.Token

// Generate some UUID to avoid duplicates
uuid.SwitchFormat(uuid.CleanHyphen)
uuid.SwitchFormat(uuid.FormatCanonical)
generatedUUID := uuid.NewV4().String()
tmpID := uuid.NewV4().String()

Expand Down
2 changes: 1 addition & 1 deletion api/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func AddTask(taskContent string, projectOrder int, date string, rawLabels string
check(err)

// Generate some UUID to avoid duplicates
uuid.SwitchFormat(uuid.CleanHyphen)
uuid.SwitchFormat(uuid.FormatCanonical)
generatedUUID := uuid.NewV4().String()
tmpID := uuid.NewV4().String()

Expand Down