Skip to content

Commit

Permalink
fix: getUin错误
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Oct 21, 2023
1 parent 9e7a614 commit dc19009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/uploadRecord.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') {
2: 3,
5: {
1: Contactable.target,
2: getUin(e),
2: getUin(),
3: 0,
4: hash,
5: buf.length,
Expand Down Expand Up @@ -183,7 +183,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') {
const fid = rsp[11].toBuffer()
const b = core.pb.encode({
1: 4,
2: Bot.uin,
2: getUin(),
3: fid,
4: hash,
5: hash.toString('hex') + '.amr',
Expand Down

0 comments on commit dc19009

Please sign in to comment.