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 parent
a5d98c2eb7
commit
c1cdd4f904
4 files changed
+33
-1
No files matched your search
+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