package com.speedment.examples.socialserver;

import java.time.LocalDateTime;
import java.util.Optional;

/**
 *
 * @author Emil Forslund
 */
public interface ServerAPI {

    String onRegister(String mail, String password);

    String onLogin(String mail, String password);

    String onSelf(String sessionKey);

    String onUpload(String title, String description, String imgData, String sessionKey);

    String onFind(String freeText, String sessionKey);

    String onFollow(long userId, String sessionKey);

    String onBrowse(String sessionKey, Optional<LocalDateTime> from, Optional<LocalDateTime> to);

    String onUpdate(String mail, String firstname, String lastName, Optional<String> avatar, String sessionKey);

}

@@ -654,17 +654,17 @@
 ng first
-n
+N
 ame, Str

Change to lastName