Skip to content

Commit 05d679e

Browse files
authored
fix: Grammar fix & createVerifiableLogApiRouter guard (elizaOS#3707)
* Update index.js * Update verifiable-log-api.ts * Update stringArrayFooter.md
1 parent aef7d45 commit 05d679e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api/variables/stringArrayFooter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Variable: stringArrayFooter
44

5-
> `const` **stringArrayFooter**: "Respond with a JSON array containing the values in a valid JSON block formatted for markdown with this structure:\n\`\`\`json\n\[\n 'value',\n 'value'\n\]\n\`\`\`\n\nYour response must include the valid JSON block."
5+
> `const` **stringArrayFooter**: "Respond with a JSON array containing the values in a valid JSON block formatted in markdown with this structure:\n\`\`\`json\n\[\n 'value',\n 'value'\n\]\n\`\`\`\n\nYour response must include the valid JSON block."
66
77
## Defined in
88

packages/cli/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pluginsCmd
8787
}
8888
// repo type
8989
if (repoData[0] !== 'github') {
90-
console.error('Plugin', plugin, 'uses', repoData[0], ' but this utility only currently support github')
90+
console.error('Plugin', plugin, 'uses', repoData[0], ' but this utility currently only support github')
9191
return
9292
}
9393
const parts = repoData[1].split('/')

packages/client-direct/src/verifiable-log-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function createVerifiableLogApiRouter(
9898
.getService<VerifiableLogService>(
9999
ServiceType.VERIFIABLE_LOGGING
100100
)
101-
.pageQueryLogs(verifiableLogQuery, page, pageSize);
101+
?.pageQueryLogs(verifiableLogQuery, page, pageSize);
102102

103103
res.json({
104104
success: true,

0 commit comments

Comments
 (0)