Renamed method

This commit is contained in:
Luca Frosini 2024-11-08 17:04:00 +01:00
parent c2ed490fd9
commit 4a557031d6
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class ContextManager extends BaseRest {
@POST
@Path("{" + ContextManager.CONTEXT_UUID_PATH_PARAMETER + "}")
@Consumes({MediaType.TEXT_PLAIN, ResourceInitializer.APPLICATION_JSON_CHARSET_UTF_8})
public void activate(@PathParam(ContextManager.CONTEXT_UUID_PATH_PARAMETER) String uuid, String json)
public void changeState(@PathParam(ContextManager.CONTEXT_UUID_PATH_PARAMETER) String uuid, String json)
throws ResourceRegistryException {
logger.info("Requested to activate {} with UUID {}", Context.NAME, uuid);
setAccountingMethod(Method.UPDATE, Context.NAME);