Skip to content

Commit

Permalink
[INLONG-8675][Manager] Update InlongTenantApi get method request type…
Browse files Browse the repository at this point in the history
… with post (#8697)

Co-authored-by: castorqin <[email protected]>
  • Loading branch information
castorqin and castorqin authored Aug 10, 2023
1 parent 4a01e5d commit e731248
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

Expand All @@ -39,7 +40,7 @@ public interface InlongTenantApi {
@POST("tenant/update")
Call<Response<Boolean>> update(@Body InlongTenantRequest request);

@POST("tenant/get/{name}")
@GET("tenant/get/{name}")
Call<Response<InlongTenantInfo>> get(@Path("name") String name);

}

0 comments on commit e731248

Please sign in to comment.