Skip to content

Commit

Permalink
update property create and update http return code
Browse files Browse the repository at this point in the history
Change-Id: I0463c6326863a6c882408737b3dfe2e12adabeaa
  • Loading branch information
zhoney committed Aug 24, 2021
1 parent 0dc7b27 commit d226f97
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class PropertyKeyAPI extends API {

@POST
@Timed
@Status(Status.CREATED)
@Status(Status.ACCEPTED)
@Consumes(APPLICATION_JSON)
@Produces(APPLICATION_JSON_WITH_CHARSET)
@RolesAllowed({"admin", "$owner=$graph $action=property_key_write"})
Expand All @@ -88,6 +88,7 @@ public String create(@Context GraphManager manager,

@PUT
@Timed
@Status(Status.ACCEPTED)
@Path("{name}")
@Consumes(APPLICATION_JSON)
@Produces(APPLICATION_JSON_WITH_CHARSET)
Expand Down

0 comments on commit d226f97

Please sign in to comment.