(callback)
| 2 | import { UrlBase } from "./base"; |
| 3 | |
| 4 | export const GetDatabaseItems = (callback) => { |
| 5 | axios.get(UrlBase+"/database/items").then((response)=>{ |
| 6 | callback(response) |
| 7 | }) |
| 8 | } |
| 9 | |
| 10 | export const UpdateDatabaseItem = (data,callback) => { |
| 11 | axios.post(UrlBase+"/database/update",data).then((response)=>{ |