diff --git a/src/main/java/net/luckperms/rest/service/GroupService.java b/src/main/java/net/luckperms/rest/service/GroupService.java index 0a7eace..df4e2ab 100644 --- a/src/main/java/net/luckperms/rest/service/GroupService.java +++ b/src/main/java/net/luckperms/rest/service/GroupService.java @@ -101,10 +101,10 @@ public interface GroupService { @GET("/group/{name}/meta") Call metadata(@Path("name") String name); - @GET("/group/{name}/permissionCheck") + @GET("/group/{name}/permission-check") Call permissionCheck(@Path("name") String name, @Query("permission") String permission); - @POST("/group/{name}/permissionCheck") + @POST("/group/{name}/permission-check") Call permissionCheck(@Path("name") String name, @Body PermissionCheckRequest req); } diff --git a/src/main/java/net/luckperms/rest/service/UserService.java b/src/main/java/net/luckperms/rest/service/UserService.java index 03b80c0..7297fbb 100644 --- a/src/main/java/net/luckperms/rest/service/UserService.java +++ b/src/main/java/net/luckperms/rest/service/UserService.java @@ -120,10 +120,10 @@ public interface UserService { @GET("/user/{uniqueId}/meta") Call metadata(@Path("uniqueId") UUID uniqueId); - @GET("/user/{uniqueId}/permissionCheck") + @GET("/user/{uniqueId}/permission-check") Call permissionCheck(@Path("uniqueId") UUID uniqueId, @Query("permission") String permission); - @POST("/user/{uniqueId}/permissionCheck") + @POST("/user/{uniqueId}/permission-check") Call permissionCheck(@Path("uniqueId") UUID uniqueId, @Body PermissionCheckRequest req); @POST("/user/{uniqueId}/promote")