Skip to content

Commit 33c689b

Browse files
committed
fix gist id to string conv
1 parent 022c951 commit 33c689b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/gists.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func CreateGist(getClient GetClientFn, t translations.TranslationHelperFunc) (to
166166
}
167167

168168
minimalResponse := MinimalResponse{
169-
ID: fmt.Sprintf("%s", createdGist.GetID()),
169+
ID: createdGist.GetID(),
170170
URL: createdGist.GetHTMLURL(),
171171
}
172172

@@ -255,7 +255,7 @@ func UpdateGist(getClient GetClientFn, t translations.TranslationHelperFunc) (to
255255
}
256256

257257
minimalResponse := MinimalResponse{
258-
ID: fmt.Sprintf("%s", updatedGist.GetID()),
258+
ID: updatedGist.GetID(),
259259
URL: updatedGist.GetHTMLURL(),
260260
}
261261

0 commit comments

Comments
 (0)