chore: change ignore to expect

This commit is contained in:
Mar0xy 2023-09-24 22:53:34 +02:00
parent 96180bb808
commit ad1d3ccb75
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -49,7 +49,7 @@ export class MastodonApiServerService {
const dataObj = {}; const dataObj = {};
const parsedData = new URLSearchParams(body as string); const parsedData = new URLSearchParams(body as string);
for (var pair of parsedData.entries()) { for (var pair of parsedData.entries()) {
//@ts-ignore //@ts-expect-error
dataObj[pair[0]] = pair[1]; dataObj[pair[0]] = pair[1];
} }
done(null, dataObj) done(null, dataObj)