mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
Retrieving proposals.
* Added GET /data/proposals endpoint which returns all submitted enhancement proposals. Fix #2
This commit is contained in:
+1
-1
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user