frontend/pages/api/check_state.ts

6 lines
173 B
TypeScript
Raw Normal View History

2022-08-26 23:44:40 +03:00
import {get} from './fetch'
import { check_state_url } from './urls'
export const check_state = async (uid: string) => {
return await get(`${check_state_url}/${uid}`)
}