api/actions_lifecycle_rest: gofmt
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
42139e11bc51c34d23f6e2f950300cccf8ba6403- Parents
-
d78d908 - Tree
8e353ba
42139e1
42139e11bc51c34d23f6e2f950300cccf8ba6403d78d908
8e353ba| Status | File | + | - |
|---|---|---|---|
| M |
internal/web/handlers/api/actions_lifecycle_rest.go
|
2 | 2 |
internal/web/handlers/api/actions_lifecycle_rest.gomodified@@ -177,7 +177,7 @@ func (h *Handlers) actionsRunArtifactsList(w http.ResponseWriter, r *http.Reques | ||
| 177 | 177 | ID: a.ID, |
| 178 | 178 | Name: a.Name, |
| 179 | 179 | SizeBytes: a.ByteCount, |
| 180 | - ArchiveURL: artifactArchiveURL(r, chi.URLParam(r, "owner"), repo.Name,a.ID), | |
| 180 | + ArchiveURL: artifactArchiveURL(r, chi.URLParam(r, "owner"), repo.Name, a.ID), | |
| 181 | 181 | ExpiresAt: pgTimestampString(a.ExpiresAt), |
| 182 | 182 | CreatedAt: a.CreatedAt.Time.UTC().Format(time.RFC3339), |
| 183 | 183 | }) |
@@ -198,7 +198,7 @@ func (h *Handlers) actionsArtifactGet(w http.ResponseWriter, r *http.Request) { | ||
| 198 | 198 | ID: artifact.ID, |
| 199 | 199 | Name: artifact.Name, |
| 200 | 200 | SizeBytes: artifact.ByteCount, |
| 201 | - ArchiveURL: artifactArchiveURL(r, chi.URLParam(r, "owner"), repo.Name,artifact.ID), | |
| 201 | + ArchiveURL: artifactArchiveURL(r, chi.URLParam(r, "owner"), repo.Name, artifact.ID), | |
| 202 | 202 | ExpiresAt: pgTimestampString(artifact.ExpiresAt), |
| 203 | 203 | CreatedAt: artifact.CreatedAt.Time.UTC().Format(time.RFC3339), |
| 204 | 204 | }) |