Files
developer-roadmap/lib/author.js

4 lines
144 B
JavaScript
Raw Normal View History

2019-11-13 23:06:07 +04:00
import authors from "storage/authors";
2019-11-01 04:14:38 +04:00
export const findByUsername = (username) => authors.find(author => author.username === username) || {};