mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
fix:#63
This commit is contained in:
parent
7f613585d2
commit
a7f06d404b
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ export class ZZZPlugin extends plugin {
|
||||||
deviceFp = await redis.get(`ZZZ:DEVICE_FP:${uid}`);
|
deviceFp = await redis.get(`ZZZ:DEVICE_FP:${uid}`);
|
||||||
if (!deviceFp) {
|
if (!deviceFp) {
|
||||||
const sdk = api.getUrl('getFp');
|
const sdk = api.getUrl('getFp');
|
||||||
const res = await fetch(sdk.url, {
|
const res = await request(sdk.url, {
|
||||||
headers: sdk.headers,
|
headers: sdk.headers,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: sdk.body,
|
body: sdk.body,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue