Merge pull request #5 from Darkangeel-hd/patch-2
🐛fix(issue #5): fixed typo in '/latest' endpointmaster
commit
b61efaa5a0
@ -1,7 +1,7 @@
|
|||||||
import { Controller } from '../types'
|
import { Controller } from '../types'
|
||||||
import { get, parse, attr, url } from '../api'
|
import { get, parse, attr, url } from '../api'
|
||||||
|
|
||||||
export const getLastest: Controller = async (req, res) => {
|
export const getLatest: Controller = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const { data } = await get(url)
|
const { data } = await get(url)
|
||||||
const html = parse(data)
|
const html = parse(data)
|
Loading…
Reference in New Issue