APi key stuff
This commit is contained in:
@@ -8,5 +8,6 @@ import stirling.software.SPDF.model.User;
|
||||
|
||||
public interface UserRepository extends JpaRepository<User, String> {
|
||||
Optional<User> findByUsername(String username);
|
||||
User findByApiKey(String apiKey);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user