Commit 54891cf8 authored by Chunchi Che's avatar Chunchi Che

add fetchStringsApi

parent bb02a878
Pipeline #18787 passed with stages
in 4 minutes and 6 seconds
import axios from "axios";
export async function fetchStrings(
region: string,
id: number
): Promise<string> {
return (
await axios.get<string>(`http://localhost:3030/strings/${region}_${id}`)
).data;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment