Updating resources according to instructions

This commit is contained in:
Brandon Watson committed 2023-08-14 21:03:23 -05:00
1 parent bdb7a39a91
commit a290cd1420
9 files changed
+89 -108

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@ var _ = Service("character", func() {
Method("getCharacter", func() {
Payload(func() {
Field(1, "id", Int)
Field(1, "name", String)
})
Result(Character)
Error("NotFound")
@@ -70,7 +70,7 @@ var _ = Service("character", func() {
Method("deleteCharacter", func() {
Payload(func() {
Field(1, "id", Int)
Field(1, "name", String)
})
Result(Empty)
Error("NotFound")