Skip to content

Commit 9cb53dd

Browse files
committed
Remove extra newline
1 parent f10ee4d commit 9cb53dd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

coderd/projects.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@ func (api *api) projects(rw http.ResponseWriter, r *http.Request) {
5858
})
5959
return
6060
}
61-
6261
if projects == nil {
6362
projects = []database.Project{}
6463
}
65-
6664
render.Status(r, http.StatusOK)
6765
render.JSON(rw, r, projects)
6866
}
@@ -80,17 +78,9 @@ func (api *api) projectsByOrganization(rw http.ResponseWriter, r *http.Request)
8078
})
8179
return
8280
}
83-
<<<<<<< HEAD
84-
// Don't return 'null'
85-
if projects == nil {
86-
projects = []database.Project{}
87-
}
88-
||||||| 2afad8b
89-
=======
9081
if projects == nil {
9182
projects = []database.Project{}
9283
}
93-
>>>>>>> main
9484
render.Status(r, http.StatusOK)
9585
render.JSON(rw, r, projects)
9686
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy