Qr
This commit is contained in:
@ -35,7 +35,7 @@ export const getDog = async ( params: string[] | undefined) : Promise<ResponseT>
|
||||
{
|
||||
qrid = params[1];
|
||||
}
|
||||
if(params !== undefined && params.length == 1)
|
||||
if(params !== undefined && params.length === 1)
|
||||
{
|
||||
qrid = params[0];
|
||||
}
|
||||
@ -88,6 +88,14 @@ export const registerUser = async ({email,password}:
|
||||
export const updateQR = async ({qr_width_cm, qr_height_cm, qr_fontsize, qr_visible_items, qr_item_sequence}:
|
||||
{qr_width_cm: number, qr_height_cm: number, qr_fontsize: number, qr_visible_items: number, qr_item_sequence: number}) =>
|
||||
{
|
||||
console.log('Api updateQR input');
|
||||
console.log('qr_width_cm: ' + qr_width_cm);
|
||||
console.log('qr_height_cm: ' + qr_height_cm);
|
||||
console.log('qr_fontsize: ' + qr_fontsize);
|
||||
console.log('qr_visible_items: ' + qr_visible_items);
|
||||
console.log('qr_item_sequence: ' + qr_item_sequence);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
const {data} = await Axios.post('updateQR.php',
|
||||
|
||||
Reference in New Issue
Block a user