package org.zeropage.apps.zeropage.network.login;

import android.support.annotation.NonNull;

import org.zeropage.apps.zeropage.network.common.RequestParameter;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface LoginRequest {
    String BASE_URL = "http://zerobot.herokuapp.com/hubot/otp/";

    @POST("{username}/")
    @FormUrlEncoded
    Call<String> login(@Path("username") @NonNull String username,
                       @Field(RequestParameter.TOKEN) @NonNull String token);
}
@@ -88,16 +88,73 @@
 nNull;%0A%0A
+import com.annimon.stream.function.FunctionalInterface;%0A%0A
 import o
@@ -360,16 +360,37 @@
 .Path;%0A%0A
+@FunctionalInterface%0A
 public i

Add a FunctionalInterface annotation to LoginRequest.