Преглед на файлове

Use PORT HTTP method for restore API calls

pull/47/head
Kristijan Mitrovic преди 4 години
родител
ревизия
3d33ef9669
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +2
    -2
      bubble-server/src/main/java/bubble/resources/account/AuthResource.java
  2. +1
    -1
      bubble-web

+ 2
- 2
bubble-server/src/main/java/bubble/resources/account/AuthResource.java Целия файл

@@ -181,7 +181,7 @@ public class AuthResource {
@Autowired private SageHelloService sageHelloService;
@Autowired private RestoreService restoreService;

@PUT @Path(EP_RESTORE+"/{restoreKey}")
@POST @Path(EP_RESTORE+"/{restoreKey}")
public Response restore(@Context Request req,
@Context ContainerRequest ctx,
@PathParam("restoreKey") String restoreKey,
@@ -219,7 +219,7 @@ public class AuthResource {
return ok(receipt);
}

@PUT @Path(EP_RESTORE + EP_APPLY + "/{restoreKey}")
@POST @Path(EP_RESTORE + EP_APPLY + "/{restoreKey}")
@Consumes(MULTIPART_FORM_DATA)
@NonNull public Response restoreFromPackage(@NonNull @Context final Request req,
@NonNull @Context final ContainerRequest ctx,


+ 1
- 1
bubble-web

@@ -1 +1 @@
Subproject commit da3bf022e8ac936eb5517310011bb0cdfd8059d4
Subproject commit dfef5be489fc7dd692e987331d5e5ce4ed489f7b

Зареждане…
Отказ
Запис