This commit is contained in:
kissnavel 2024-08-22 10:29:42 +08:00
parent 7f613585d2
commit a7f06d404b

View file

@ -149,7 +149,7 @@ export class ZZZPlugin extends plugin {
deviceFp = await redis.get(`ZZZ:DEVICE_FP:${uid}`);
if (!deviceFp) {
const sdk = api.getUrl('getFp');
const res = await fetch(sdk.url, {
const res = await request(sdk.url, {
headers: sdk.headers,
method: 'POST',
body: sdk.body,