Retrieving proposals.

* Added GET /data/proposals endpoint which returns all submitted enhancement proposals.

Fix #2
This commit is contained in:
zegkljan
2022-09-15 21:03:17 +02:00
parent a5d98c2eb7
commit c1cdd4f904
4 changed files with 33 additions and 1 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ type PhotoMetadata struct {
}
type Proposal struct {
OwnerID int `json:"owner_id"`
OwnerID UserID `json:"owner_id"`
Description string `json:"description"`
How string `json:"how"`
}