1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-25 13:09:19 +01:00

10 lines
322 B
JavaScript
Raw Normal View History

2018-02-24 21:27:32 -08:00
import { favoriteStatus } from '../routes/_api/favorite'
import fetch from 'node-fetch'
global.fetch = fetch
const accessToken = 'a306d698185db24b12385a5432817551d7ac94bdcbe23233d4e5eff70f6408c4'
export async function favoriteStatusAsAdmin (statusId) {
return favoriteStatus('localhost:3000', accessToken, statusId)
}